Language

Activity.OnNavigateUpFromChild(Activity) Method

Definition

This method was deprecated in API level 30.

[Android.Runtime.Register("onNavigateUpFromChild", "(Landroid/app/Activity;)Z", "GetOnNavigateUpFromChild_Landroid_app_Activity_Handler")]
public virtual bool OnNavigateUpFromChild(Android.App.Activity? child);
[<Android.Runtime.Register("onNavigateUpFromChild", "(Landroid/app/Activity;)Z", "GetOnNavigateUpFromChild_Landroid_app_Activity_Handler")>]
abstract member OnNavigateUpFromChild : Android.App.Activity -> bool
override this.OnNavigateUpFromChild : Android.App.Activity -> bool

Parameters

child
Activity

Activity: The activity making the call.

Returns

Attributes

Remarks

This method was deprecated in API level 30. Use onNavigateUp() instead.

This is called when a child activity of this one attempts to navigate up. The default implementation simply calls onNavigateUp() on this activity (the parent).

Android reference for android.app.Activity.onNavigateUpFromChild.

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