Question

In Android, there is an onBackPressed() code which will navigate back. Is there any way to go forward, like in the browser?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top