-
public final class DeprecatedKt
-
-
Method Summary
Modifier and Type Method Description final static <S extends MVIState, Parcelable, I extends MVIIntent, A extends MVIAction> StorePlugin<S, I, A>parcelizeStatePlugin(String key, SavedStateHandle handle, String name)A plugin that restores the pro.respawn.flowmvi.api.StateProvider.state from a handle in StorePlugin.onStart and saves into handle asynchronously in StorePlugin.onState. final static <S extends MVIState, Serializable, I extends MVIIntent, A extends MVIAction> StorePlugin<S, I, A>serializeStatePlugin(String key, SavedStateHandle handle, String name)A plugin that restores the pro.respawn.flowmvi.api.StateProvider.state from a handle in StorePlugin.onStart and saves into handle asynchronously in StorePlugin.onState. final static <S extends MVIState, Parcelable, I extends MVIIntent, A extends MVIAction> UnitparcelizeState(StoreBuilder<S, I, A> $self, SavedStateHandle handle, String key, String name)Creates and installs a new savedStatePlugin. final static <S extends MVIState, Serializable, I extends MVIIntent, A extends MVIAction> UnitserializeState(StoreBuilder<S, I, A> $self, SavedStateHandle handle, String key)Creates and installs a new savedStatePlugin. -
-
Method Detail
-
parcelizeStatePlugin
final static <S extends MVIState, Parcelable, I extends MVIIntent, A extends MVIAction> StorePlugin<S, I, A> parcelizeStatePlugin(String key, SavedStateHandle handle, String name)
A plugin that restores the pro.respawn.flowmvi.api.StateProvider.state from a handle in StorePlugin.onStart and saves into handle asynchronously in StorePlugin.onState. Your state must be Parcelable to use this.
-
serializeStatePlugin
final static <S extends MVIState, Serializable, I extends MVIIntent, A extends MVIAction> StorePlugin<S, I, A> serializeStatePlugin(String key, SavedStateHandle handle, String name)
A plugin that restores the pro.respawn.flowmvi.api.StateProvider.state from a handle in StorePlugin.onStart and saves into handle asynchronously in StorePlugin.onState. Your state must be Serializable to use this
-
parcelizeState
final static <S extends MVIState, Parcelable, I extends MVIIntent, A extends MVIAction> Unit parcelizeState(StoreBuilder<S, I, A> $self, SavedStateHandle handle, String key, String name)
Creates and installs a new savedStatePlugin. Your state must be Parcelable to use this.
-
serializeState
final static <S extends MVIState, Serializable, I extends MVIIntent, A extends MVIAction> Unit serializeState(StoreBuilder<S, I, A> $self, SavedStateHandle handle, String key)
Creates and installs a new savedStatePlugin. Your state must be Serializable to use this.
-
-
-
-