to top
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

? Examples
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.