Android Guides | Samples

Android.App.FragmentBreadCrumbs Class

Helper class for showing "bread crumbs" representing the fragment stack in an activity.

See Also: FragmentBreadCrumbs

Syntax

[Android.Runtime.Register("android/app/FragmentBreadCrumbs", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class FragmentBreadCrumbs : ViewGroup, FragmentManager+IOnBackStackChangedListener, IDisposable

Remarks

Helper class for showing "bread crumbs" representing the fragment stack in an activity. This is intended to be used with ActionBar.CustomView to place the bread crumbs in the action bar.

The default style for this view is NoType:android/R$style;Href=../../../reference/android/R.style.html#Widget_FragmentBreadCrumbs.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11

The members of Android.App.FragmentBreadCrumbs are listed below.

See Also: ViewGroup

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

OnBackStackChanged()
Called whenever the contents of the back stack change.
SetActivity(Activity)
Attach the bread crumbs to their activity.
SetMaxVisible(Int32)
The maximum number of breadcrumbs to show.
SetOnBreadCrumbClickListener(FragmentBreadCrumbs+IOnBreadCrumbClickListener)
Sets a listener for clicks on the bread crumbs.
SetParentTitle(ICharSequence, ICharSequence, View+IOnClickListener)
Inserts an optional parent entry at the first position in the breadcrumbs.
SetParentTitle(String, String, View+IOnClickListener)
SetTitle(ICharSequence, ICharSequence)
Set a custom title for the bread crumbs.
SetTitle(String, String)

Protected Methods

override
OnLayout(Boolean, Int32, Int32, Int32, Int32)
Called from layout when this view should assign a size and position to each of its children.

Public Events