A panel meant for user flows which equate to a task that the user may perform and which would typically require different amounts of screen real estate. A task is typically something that the user performs away from the map, going back to the map when that task is complete. For example, looking through contacts to make a call or searching for a destination to navigate to.
The source of the information contained by this panel when the information transitions from another panel to this one. By default it is null, indicating the information does not transition from any other particular panel.
Called as a result from pressing a hardware back button. This should only be called as a result of user interaction with a back button, and not to trigger behaviour that is assumed to result from a back press. For example, in order to go back in a task panel back stack, do not call this but close the panel directly using TaskPanel.dismiss instead.
Dismisses the panel, triggering the end of its life. It will be removed from the frontend, causing onRemovedFromFrontend to be called and preventing it from being shown again. May not be called if the panel has not been added to a frontend.
Called when the panel is attached to the system UI. The panel may be detached and attached multiple times, for example on configuration changes. However, a panel will never be attached multiple times at once.
Called when the panel has been dismissed from the system UI, either through user interaction or other events. This triggers the end of the life of a panel; it will be removed from the frontend, causing onRemovedFromFrontend to be called and preventing it from being shown again in the system UI.