Android.App.Activity.OnNavigateUp Method
This method is called whenever the user chooses to navigate Up within your application's activity hierarchy from the action bar.

Syntax

[Android.Runtime.Register("onNavigateUp", "()Z", "GetOnNavigateUpHandler")]
public virtual bool OnNavigateUp ()

Returns

Documentation for this section has not yet been entered.

Remarks

This method is called whenever the user chooses to navigate Up within your application's activity hierarchy from the action bar.

If the attribute NoType:android/R$attr;Href=../../../reference/android/R.attr.html#parentActivityName was specified in the manifest for this activity or an activity-alias to it, default Up navigation will be handled automatically. If any activity along the parent chain requires extra Intent arguments, the Activity subclass should override the method Activity.OnPrepareNavigateUpTaskStack(TaskStackBuilder) to supply those arguments.

See Tasks and Back Stack from the developer guide and Navigation from the design guide for more information about navigating within your app.

See the Android.App.TaskStackBuilder class and the Activity methods Activity.ParentActivityIntent, Activity.ShouldUpRecreateTask(Android.Content.Intent), and Activity.NavigateUpTo(Android.Content.Intent) for help implementing custom Up navigation. The AppNavigation sample application in the Android SDK is also available for reference.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16