第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧
added in version 22.1.0
belongs to Maven artifact com.android.support:support-fragment:28.0.0-alpha1

FragmentManager.OnBackStackChangedListener

public static interface FragmentManager.OnBackStackChangedListener

android.support.v4.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

added in version 22.1.0
void onBackStackChanged ()

Called whenever the contents of the back stack change.