Activity.OnPrepareNavigateUpTaskStack(TaskStackBuilder) 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.
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.
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.