public static interface FragmentBreadCrumbs.OnBreadCrumbClickListener
android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener |
拦截点击面包屑的界面。
Public methods |
|
---|---|
abstract boolean |
onBreadCrumbClick(FragmentManager.BackStackEntry backStack, int flags) 当面包屑被点击时调用。 |
boolean onBreadCrumbClick (FragmentManager.BackStackEntry backStack, int flags)
当面包屑被点击时调用。
Parameters | |
---|---|
backStack |
FragmentManager.BackStackEntry : The BackStackEntry whose bread crumb was clicked. May be null, if this bread crumb is for the root of the back stack. |
flags |
int : Additional information about the entry. Currently always 0. |
Returns | |
---|---|
boolean |
Return true to consume this click. Return to false to allow the default action (popping back stack to this entry) to occur. |