Android Onresume Show Previous State Of Activity
In my project I've several controls in my activity listView checkboxes and textboxes in several tabs now what i've seen when i press home key or recieve a call my activity put int
Solution 1:
You should save your state in onPause() method and you can refresh your view in onResume()
Solution 2:
There is no such API to save the state of the activity. You yourself have to save the state using SharedPreferences or some other method in onPause() and retrieve the state in onResume().
Post a Comment for "Android Onresume Show Previous State Of Activity"