NightModeActivity

An activity with DayNight theme.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val KEY_TITLE: String = "title"

Functions

Link copied to clipboard
Blocks until a single configuration change has been received.
Link copied to clipboard
open fun expectOnCreate(timeout: Long)
Blocks until a single onCreate lifecycle event has been received.
Link copied to clipboard
open fun expectOnDestroy(timeout: Long)
Blocks until a single onDestroy lifecycle event has been received.
Link copied to clipboard
open fun onConfigurationChanged(@NonNull newConfig: @NonNull Configuration)
Link copied to clipboard
open fun onCreate(bundle: Bundle)
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onNightModeChanged(mode: Int)
Link copied to clipboard
Resets the number of received configuration changes.
Link copied to clipboard
open fun resetOnCreate()
Resets the number of received onCreate lifecycle events.
Link copied to clipboard
open fun resetOnDestroy()
Resets the number of received onDestroy lifecycle events.