public class AutoNightActivity
A base Activity that sets the current night mode using an class AutoNightDelegate.
class AutoNightDelegate| Constructor and Description |
|---|
AutoNightActivity()
A base Activity that sets the current night mode using an
class AutoNightDelegate. |
| Modifier and Type | Method and Description |
|---|---|
protected AutoNightDelegate |
getAutoNightDelegate()
The delegate used to update this Activity's night mode while the Activity is displayed.
|
protected void |
onCreate(android.os.Bundle savedInstanceState) |
public AutoNightActivity()
A base Activity that sets the current night mode using an class AutoNightDelegate.
class AutoNightDelegate@NotNull protected AutoNightDelegate getAutoNightDelegate()
The delegate used to update this Activity's night mode while the Activity is displayed.
Uses AutoNightDelegate.fallback by default. Should be overridden if a different class AutoNightDelegate is
required.
protected void onCreate(@Nullable
android.os.Bundle savedInstanceState)