Question

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

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top