Megosztás a következőn keresztül:


Activity.OnNavigateUpFromChild(Activity) Method

Definition

This is called when a child activity of this one attempts to navigate up.

[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

The activity making the call.

Returns

Attributes

Remarks

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).

This member is deprecated. Use #onNavigateUp() instead.

Java documentation for android.app.Activity.onNavigateUpFromChild(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