chamber / com.skydoves.chamber / ChamberLifecycleObserver

ChamberLifecycleObserver

class ChamberLifecycleObserver : LifecycleObserver

ChamberLifecycleObserver is an onDestroy observer class.

Constructors

<init>

ChamberLifecycleObserver(annotation: Annotation, lifecycleOwner: String)

ChamberLifecycleObserver is an onDestroy observer class.

Properties

lifecycleOwner

val lifecycleOwner: String

Functions

onDestroy

fun onDestroy(): Unit

when lifecycle owner is destroyed, the value data will be cleared on the lifecycle stack on the ChamberStore.