Android APIs
Added in API level 12
public static interface

FragmentBreadCrumbs.OnBreadCrumbClickListener

android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener

Class Overview

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

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

Added in API level 12

Called when a bread crumb is clicked.

Parameters
backStack The BackStackEntry whose bread crumb was clicked. May be null, if this bread crumb is for the root of the back stack.
flags Additional information about the entry. Currently always 0.
Returns
  • Return true to consume this click. Return to false to allow the default action (popping back stack to this entry) to occur.