Android: How to save/restore data

后端 未结 2 1998
轻奢々
轻奢々 2021-01-25 04:36

In my app I have a Linked List (I use the standard List()). I want this list to be saved to the sd card (or the phone memory) every time the user exits the app and restore it ev

相关标签:
2条回答
  • 2021-01-25 05:16

    The Android Developer site has an excellent guide how you can store your data on the phone.

    0 讨论(0)
  • 2021-01-25 05:37

    you can use SharedPreferences , refer the doc , and this tutorial to understand how to do it :)

    0 讨论(0)
提交回复
热议问题