addActivity()
Adds an activity to the application.
addActivity(activity: Activity, activate?: boolean): this;
Summary
This method adds an Activity instance to the root activity router, i.e. activities. The activity is not automatically managed by route changes; use addRoutes() for route-based activation.
Parameters
- activity — The activity to be added
- activate — True if the activity should be activated immediately
Related
class AppContext
A singleton class that represents the global application state.
