Akin to the Android Activity backstack, the Fragment backstack is a task-like stack of Fragments (specified when adding a Fragment to a page with FragmentManager). It allows a linear navigation backwards from the current visible fragment, back through a history of previous fragments in a container until you reach the base fragment.
Akin to the Android Activity backstack, the Fragment backstack is a task-like stack of Fragments (specified when adding a Fragment to a page with FragmentManager). It allows a linear navigation backwards from the current visible fragment, back through a history of previous fragments in a container until you reach the base fragment.
Links
- Current documentation on backstack navigation - https://developer.android.com/guide/navigation/navigation-custom-back
- Old documentation on backstack navigation - https://web.archive.org/web/20190410064753/http://developer.android.com/training/implementing-navigation/temporal.html