Android.App.Activity.OnCreateNavigateUpTaskStack Method
Define the synthetic task stack that will be generated during Up navigation from a different task.

Syntax

[Android.Runtime.Register("onCreateNavigateUpTaskStack", "(Landroid/app/TaskStackBuilder;)V", "GetOnCreateNavigateUpTaskStack_Landroid_app_TaskStackBuilder_Handler")]
public virtual void OnCreateNavigateUpTaskStack (TaskStackBuilder builder)

Parameters

builder
An empty TaskStackBuilder - the application should add intents representing the desired task stack

Remarks

Define the synthetic task stack that will be generated during Up navigation from a different task.

The default implementation of this method adds the parent chain of this activity as specified in the manifest to the supplied Android.App.TaskStackBuilder. Applications may choose to override this method to construct the desired task stack in a different way.

This method will be invoked by the default implementation of Activity.OnNavigateUp if Activity.ShouldUpRecreateTask(Android.Content.Intent) returns true when supplied with the intent returned by Activity.ParentActivityIntent.

Applications that wish to supply extra Intent parameters to the parent stack defined by the manifest should override Activity.OnPrepareNavigateUpTaskStack(TaskStackBuilder).

[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