Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top