rememberRetainedSaveable

fun <T : Any> rememberRetainedSaveable(vararg inputs: Any?, saver: Saver<T, out Any> = autoSaver(), key: String? = null, init: () -> T): T(source)

A simple proxy to rememberRetained that uses the default autoSaver for saver and a more explicit name.

See also


fun <T> rememberRetainedSaveable(vararg inputs: Any?, stateSaver: Saver<T, out Any>, key: String? = null, init: () -> MutableState<T>): MutableState<T>(source)

A simple proxy to rememberRetained that uses the default autoSaver for stateSaver and a more explicit name.

See also