Added in API level 12
Deprecated in API level 28

OnBreadCrumbClickListener


interface OnBreadCrumbClickListener
android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener

Interface to intercept clicks on the bread crumbs.

Summary

Public methods
abstract Boolean

Called when a bread crumb is clicked.

Public methods

onBreadCrumbClick

Added in API level 12
abstract fun onBreadCrumbClick(
    backStack: FragmentManager.BackStackEntry!,
    flags: Int
): Boolean

Deprecated: Deprecated in Java.

Called when a bread crumb is clicked.

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.
Return
Boolean Return true to consume this click. Return to false to allow the default action (popping back stack to this entry) to occur.