There is no front. It's a stack- for you to have returned to a previous activity, finish must have been called on the previous one. That activity is done, it no longer exists.
Android Forward Navigation Method
-
17-07-2023 - |
Question
In Android, there is an onBackPressed()
code which will navigate back. Is there any way to go forward, like in the browser?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow