BackStackListener

interface BackStackListener<T>

Listener for changes to the navigation back stack.

Functions

Link copied to clipboard
abstract fun onBackStackChanged()
Called whenever the contents of the backstack change.
Link copied to clipboard
abstract fun visitedItem(@NonNull item: T)
Called when the backstack is moved to the item.