RetainStateProvider.RetainStateObserver


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

Summary

Public functions

Unit

Called to indicate that RetainStateProvider.isRetainingExitedValues has become true.

Cmn
Unit

Called to indicate that RetainStateProvider.isRetainingExitedValues has become false.

Cmn

Public functions

onStartRetainingExitedValues

fun onStartRetainingExitedValues(): Unit

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

onStopRetainingExitedValues

fun onStopRetainingExitedValues(): Unit

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