Google 致力于为黑人社区推动种族平等。查看具体举措

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.