Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

OnBackStackChangedListener

interface OnBackStackChangedListener
androidx.fragment.app.FragmentManager.OnBackStackChangedListener

Interface to watch for changes to the back stack.

Summary

Public methods

abstract Unit

Called whenever the contents of the back stack change.

Public methods

onBackStackChanged

@MainThread abstract fun onBackStackChanged(): Unit

Called whenever the contents of the back stack change.