{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SaverScope

fun interface SaverScope


Scope used in Saver.save.

See also
Saver

Summary

Public functions

Boolean
canBeSaved(value: Any)

What types can be saved is defined by SaveableStateRegistry, by default everything which can be stored in the Bundle class can be saved.

Public functions

canBeSaved

fun canBeSaved(value: Any): Boolean

What types can be saved is defined by SaveableStateRegistry, by default everything which can be stored in the Bundle class can be saved.