Share via


FragmentBreadCrumbs.SetActivity(Activity) Method

Definition

Caution

deprecated

Attach the bread crumbs to their activity.

[Android.Runtime.Register("setActivity", "(Landroid/app/Activity;)V", "GetSetActivity_Landroid_app_Activity_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetActivity (Android.App.Activity? a);
[<Android.Runtime.Register("setActivity", "(Landroid/app/Activity;)V", "GetSetActivity_Landroid_app_Activity_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetActivity : Android.App.Activity -> unit
override this.SetActivity : Android.App.Activity -> unit

Parameters

Attributes

Remarks

Attach the bread crumbs to their activity. This must be called once when creating the bread crumbs.

Java documentation for android.app.FragmentBreadCrumbs.setActivity(android.app.Activity).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to