The Developer Preview for Android 11 is now available; test it out and share your feedback.

FragmentManager.OnBackStackChangedListener

public static interface FragmentManager.OnBackStackChangedListener

androidx.fragment.app.FragmentManager.OnBackStackChangedListener


Interface to watch for changes to the back stack.

Summary

Public methods

abstract void onBackStackChanged()

Called whenever the contents of the back stack change.

Public methods

onBackStackChanged

public abstract void onBackStackChanged ()

Called whenever the contents of the back stack change.