save arraylist in shared preference

后端 未结 5 1252
抹茶落季
抹茶落季 2020-12-06 15:32

I am storing values in ArrayList and pass it to using bundle to next Fragment, and there I set values to my TextView, till here it wor

5条回答
  •  自闭症患者
    2020-12-06 16:23

    Use tinydb. check following link you might get some idea. https://github.com/kcochibili/TinyDB--Android-Shared-Preferences-Turbo

    using tinydb you can store array in local db.

提交回复
热议问题