He's responsible for managing multiple activity records.
Ask has a one domain relationship with activity records.
Task has many properties related to the management of multiple activity records and the task stack itself
when starting a new activity.
A hostess task has to be assigned to the activity if the host task does not exist.
A new host task need to be created, which means that all activity records must have a host task.
Here are a few of the task attributes.
Task ID It's basically the unique identification of that task.
Task Type.
This is a type of the task stack, which is equivalent to the type of the activity record intent.
The intent of the first activity launched in the current task stack will be recorded here.
Affinity The task records, the affinity of the activity which is added to the task and root affinity.
The affinity of the board.
The most activity in the record.
Task stack.
The task of behaviour focus on the management of the task itself like adding, deleting, changing,
looking up elements within the task stack.
So for that, there are many methods in the task load Java class, a few of them are at root activity.
So this returns the root activity or the first activity of the stack and there are many others like
get topmost stack bottom or stack task below, get task, get root task, etc. There are many other
methods as well in the task pro java.
So for if you want to have a closer look at them, please have a look at the task Java class or its
parent class.