SavedStateRegistry.SavedStateProvider



This interface marks a component that contributes to saved state.

Summary

Public functions

SavedState

Called to retrieve a state from a component before being killed so later the state can be received from consumeRestoredStateForKey

Cmn
android

Public functions

saveState

fun saveState(): SavedState

Called to retrieve a state from a component before being killed so later the state can be received from consumeRestoredStateForKey

Returns S with your saved state.