이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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.