chamber / com.skydoves.chamber / Chamber / shareLifecycle

shareLifecycle

inline fun <reified T : LifecycleOwner> shareLifecycle(scopeOwner: Any, lifecycleOwner: T): Unit

Chamber synchronizes the ChamberField that has the same scope and same key. Also pushes a lifecycleOwner to the Chamber lifecycle stack.