Aracılığıyla paylaş


Activity.OnPrepareNavigateUpTaskStack(TaskStackBuilder) Method

Definition

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

[Android.Runtime.Register("onPrepareNavigateUpTaskStack", "(Landroid/app/TaskStackBuilder;)V", "GetOnPrepareNavigateUpTaskStack_Landroid_app_TaskStackBuilder_Handler")]
public virtual void OnPrepareNavigateUpTaskStack (Android.App.TaskStackBuilder? builder);
[<Android.Runtime.Register("onPrepareNavigateUpTaskStack", "(Landroid/app/TaskStackBuilder;)V", "GetOnPrepareNavigateUpTaskStack_Landroid_app_TaskStackBuilder_Handler")>]
abstract member OnPrepareNavigateUpTaskStack : Android.App.TaskStackBuilder -> unit
override this.OnPrepareNavigateUpTaskStack : Android.App.TaskStackBuilder -> unit

Parameters

builder
TaskStackBuilder

A TaskStackBuilder that has been populated with Intents by onCreateNavigateUpTaskStack.

Attributes

Remarks

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

This method receives the TaskStackBuilder with the constructed series of Intents as generated by #onCreateNavigateUpTaskStack(TaskStackBuilder). If any extra data should be added to these intents before launching the new task, the application should override this method and add that data here.

Java documentation for android.app.Activity.onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder).

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