RootActivity

Marker base for Root-category activities (§AS-C-2).

In the namespace octomy::activity. Declared in src/libs/libactivity/activity/RootActivity.hpp.

Detailed description

A Root is the "home" screen of a node type. At most one Root may sit on the stack at any time, always at index 1 (directly above BottomPage). The back button is disabled on a Root — exit goes through the shutdown confirm flow.

Pushing a Root via pushRoot() wipes the stack back to BottomPage first, after running canCloseAll() to give in-progress work a chance to refuse the destructive operation.

In this section