Added in API level 12
Deprecated in API level 28

FragmentBreadCrumbs.OnBreadCrumbClickListener


public static interface FragmentBreadCrumbs.OnBreadCrumbClickListener

android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener


This interface was deprecated in API level 28.
This widget is no longer supported.

Interface to intercept clicks on the bread crumbs.

Summary

Public methods

abstract boolean onBreadCrumbClick(FragmentManager.BackStackEntry backStack, int flags)

Called when a bread crumb is clicked.

Public methods

onBreadCrumbClick

Added in API level 12
public abstract boolean onBreadCrumbClick (FragmentManager.BackStackEntry backStack, 
                int flags)

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.

Returns
boolean Return true to consume this click. Return to false to allow the default action (popping back stack to this entry) to occur.