Docs (4.0.0)
App context

app

The current instance of the global application context.

app: GlobalContext

Description

Use app to access properties and methods of GlobalContext, e.g. app.theme and app.addActivity(...). This instance is available immediately when the application starts, and remains the same throughout its lifetime.

More information

For more information and a description of all available methods, refer to the following page:

  • App contextAn overview of the functionality provided by the global application context.