Android.App.TaskStackBuilder Class
Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.0 and newer.

See Also: TaskStackBuilder Members

Syntax

[Android.Runtime.Register("android/app/TaskStackBuilder", DoNotGenerateAcw=true)]
public class TaskStackBuilder : Java.Lang.Object

Remarks

Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.0 and newer.

About Navigation

For more detailed information about tasks, the back stack, and navigation design guidelines, please read Tasks and Back Stack from the developer guide and Navigation from the design guide.

In API level 11 (Android 3.0/Honeycomb) the recommended conventions for app navigation using the back key changed. The back key's behavior is local to the current task and does not capture navigation across different tasks. Navigating across tasks and easily reaching the previous task is accomplished through the "recents" UI, accessible through the software-provided Recents key on the navigation or system bar. On devices with the older hardware button configuration the recents UI can be accessed with a long press on the Home key.

When crossing from one task stack to another post-Android 3.0, the application should synthesize a back stack/history for the new task so that the user may navigate out of the new task and back to the Launcher by repeated presses of the back key. Back key presses should not navigate across task stacks.

TaskStackBuilder provides a way to obey the correct conventions around cross-task navigation.

[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