• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to keep Shared Preferences data after force close?

s_elissa

Lurker
Hello, I am saving some data in my project to the Shared Pref class that I create.
Everything is working fine until I force close the app and re-open it
All of the data is being reset; how can I solve this issue?
 
I'm not a developer so I'm afraid I won't be able to assist, but it might help if you posted some of your code. You can wrap it in [code]...[/code] tags to make it easy to read.

Code:
like this
see?
 
Back
Top Bottom