Companion

Functions

Link copied to clipboard
fun saver(document: KiteDocument): Saver<KiteDocViewState, Any>

Saves the reading position of a state for document, so it survives a configuration change and the end of the process. rememberKiteDocViewState uses it. The viewer's scroll containers save nothing of their own, so a host that builds its own state saves it with this: