In Android, from Activity A, if I start new activity B, then Android will automatically run all state of activity Will save. Therefore, when I click on Back to Activity B or Call Fin (), Activity A will be restored in the state when I start activity B (for example: Activity A, or the position of a ScrollView in Progress value) Will do it. In Activity A, I see the progress of some work, and if I come back from Activity B, progress will be restored and continue.
Now what I want, from Activity A, I will call Finnish (). Like Android, how can I save all state activities (as I have included the above mentioned progress), so when I start an activity again, then before I completely finish everything Can I restore, and my progress remains intact? / P>
Can I push something like stack to the activity A to Android and then pop it out? How does anyone get this?
Do not terminate after clicking on the back button.
Instead call the "moveTaskToBack (wrong)" method This will 'minimize' your application the next time you open the application, the application opens from the previous state.
Comments
Post a Comment