次の方法で共有


Activity.NavigateUpToFromChild(Activity, Intent) Method

Definition

This is called when a child activity of this one calls its #navigateUpTo method.

[Android.Runtime.Register("navigateUpToFromChild", "(Landroid/app/Activity;Landroid/content/Intent;)Z", "GetNavigateUpToFromChild_Landroid_app_Activity_Landroid_content_Intent_Handler")]
public virtual bool NavigateUpToFromChild (Android.App.Activity? child, Android.Content.Intent? upIntent);
[<Android.Runtime.Register("navigateUpToFromChild", "(Landroid/app/Activity;Landroid/content/Intent;)Z", "GetNavigateUpToFromChild_Landroid_app_Activity_Landroid_content_Intent_Handler")>]
abstract member NavigateUpToFromChild : Android.App.Activity * Android.Content.Intent -> bool
override this.NavigateUpToFromChild : Android.App.Activity * Android.Content.Intent -> bool

Parameters

child
Activity

The activity making the call.

upIntent
Intent

An intent representing the target destination for up navigation

Returns

true if up navigation successfully reached the activity indicated by upIntent and upIntent was delivered to it. false if an instance of the indicated activity could not be found and this activity was simply finished normally.

Attributes

Remarks

This is called when a child activity of this one calls its #navigateUpTo method. The default implementation simply calls navigateUpTo(upIntent) on this activity (the parent).

This member is deprecated. Use #navigateUpTo(Intent) instead.

Java documentation for android.app.Activity.navigateUpToFromChild(android.app.Activity, android.content.Intent).

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