tezvyn:

singleTask Launch Mode: A -> B -> C Back Stack

Source: developer.android.comintermediate

This tests your understanding of Android's `singleTask` launch mode and task management. A good answer explains that A and B form a stack in one task, while C launches into a new, separate task, becoming its root.

This tests your knowledge of Android's `singleTask` launch mode, task affinities, and back stack manipulation. A great answer outlines how A and B are added to the initial task's back stack `[A, B]`. Then, it explains that launching C creates a *new task* with C as its root, pushing the original task to the background. A common red flag is incorrectly stating C is added to the same task or that it clears activities above it without mentioning the new task creation.

Read the original → developer.android.com

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

singleTask Launch Mode: A -> B -> C Back Stack · Tezvyn