Saving EditText and retrieve it automatically

前端 未结 3 658
遇见更好的自我
遇见更好的自我 2021-01-29 10:50

hi I\'m trying to save the EditText widget values in the internal memory of the phone/tablet so that they can be retrieved automatically by the app when it closes or the activit

3条回答
  •  抹茶落季
    2021-01-29 11:26

    If you want to save single value like name, address, phone_no etc then use SharedPreferences or want to save like same value multiple times then use Sqlite.

    References : Sqlite , SharedPreferences

提交回复
热议问题