RetainStateProvider.RetainStateObserver


Listener interface to observe changes in the value of RetainStateProvider.isKeepingExitedValues.

Summary

Public functions

Unit

Called to indicate that RetainStateProvider.isKeepingExitedValues has become true.

Cmn
Unit

Called to indicate that RetainStateProvider.isKeepingExitedValues has become false.

Cmn

Public functions

onStartKeepingExitedValues

fun onStartKeepingExitedValues(): Unit

Called to indicate that RetainStateProvider.isKeepingExitedValues has become true. This callback should only be invoked on the applier thread.

onStopKeepingExitedValues

fun onStopKeepingExitedValues(): Unit

Called to indicate that RetainStateProvider.isKeepingExitedValues has become false. This callback should only be invoked on the applier thread.