Returning After A Period Of Inactivity In My Android Application Causes Destroy Set Values
I have a Problem with my Application that when it goes to the background and then return back after 2-3 minutes of inactivity, then Application's on-Create method is called and val
Solution 1:
If you did not save your application values in onSaveInstanceState(), they will not be available to you in onCreate(). Save your values in onSaveInstanceState(), and you will be able to get them back in onCreate(). It's as simple as that.
Post a Comment for "Returning After A Period Of Inactivity In My Android Application Causes Destroy Set Values"