Inherited from Activity
Inherited from ComponentCallbacks
Inherited from OnCreateContextMenuListener
Inherited from Callback
Inherited from Callback
Inherited from Factory
Inherited from ContextThemeWrapper
Inherited from ContextWrapper
Inherited from Context
Inherited from AnyRef
Inherited from Any
Enriched trait for the class android.app.Activity. To enable Scaloid, inherit this trait instead of the class Activity.
SActivity has shortcut methods for each lifecycle stages. These methods shorten the method overriding, which is very frequent for activity classes.
For example, instead of this:
The equivalent is:
onCreate { // do something for onCreate }
or
In contrast of method overriding, this shortcut can be called multiple times from different places of your code.