Activity.NavigateUpToFromChild(Activity, Intent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method was deprecated in API level 30.
[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
Activity: The activity making the call.
- upIntent
- Intent
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 method was deprecated in API level 30. Use navigateUpTo(Intent) instead.
This is called when a child activity of this one calls its navigateUpTo(Intent) method. The default implementation simply calls navigateUpTo(upIntent) on this activity (the parent).
Android reference for android.app.Activity.navigateUpToFromChild.
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.