Android Question Store text in EditText

Isac

Active Member
Licensed User
Longtime User
How can I store the last text entered in a EditText?
When you restart the application text should remain stored in EditText
someone has already tried?
thank you
 
Last edited:

asales

Expert
Licensed User
Longtime User
You can use PreferenceActivity library:
- "SetString" to set the text of EditText when application is closed
- "GetString" to put the text in EditText when application is created
 
Upvote 0
Top