easy way to save a LinkedList in a Android Application?

前端 未结 3 648
暗喜
暗喜 2021-01-22 16:07

what is the easyest or native way to save a list of objects in a android application?

i need to save it and then load it when the app starts again.

would be nice

3条回答
  •  醉酒成梦
    2021-01-22 16:17

    Have u tried shared preferneces..? when ur app is about to exit, save that using shared preferences and again when app starts, load that preference.

提交回复
热议问题