SupportLifecycle

Contract for life cycle aware components, with all lifecycle events optional

Since

v1.2.0

See also

Functions

Link copied to clipboard
open override fun onCreate(owner: LifecycleOwner)

Notifies that ON_CREATE event occurred.

Link copied to clipboard
open override fun onDestroy(owner: LifecycleOwner)

Notifies that ON_DESTROY event occurred.

Link copied to clipboard
open override fun onPause(owner: LifecycleOwner)

Notifies that ON_PAUSE event occurred.

Link copied to clipboard
open override fun onResume(owner: LifecycleOwner)

Notifies that ON_RESUME event occurred.

Link copied to clipboard
open override fun onStart(owner: LifecycleOwner)

Notifies that ON_START event occurred.

Link copied to clipboard
open override fun onStop(owner: LifecycleOwner)

Notifies that ON_STOP event occurred.