runtime-saveable
Functions
  • SaveableStateRegistry
  • Saver
  • autoSaver
  • listSaver
  • mapSaver
Composable Functions
  • rememberSaveable
  • rememberSaveableStateHolder
  • rememberSerializable
Interfaces
  • SaveableStateHolder
  • SaveableStateRegistry
  • SaveableStateRegistry.Entry
  • Saver
  • SaverScope
Properties
  • LocalSaveableStateRegistry
Jetpack Compose / Compose Runtime / runtime-saveable / Interfaces / SaveableStateHolder
Interface

SaveableStateHolder

View Markdown Open in ChatGPT Open in Claude

Allows to save the state defined with rememberSaveable for the subtree before disposing it to make it possible to compose it back next time with the restored state.

CodeRabbit

CodeRabbit

AI writes the code. CodeRabbit catches the slop.

AdTry CodeRabbit for Free
Robomori

Robomori

Run Android emulators and devices outside Android Studio.

AdTry Robomori
API

Examples

SimpleNavigationWithSaveableStateSample

@Sampled
@Composable
fun SimpleNavigationWithSaveableStateSample() {
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free →

Content updated: 2026-11-04

rememberSerializable ← Previous SaveableStateRegistry Next →

On this page

  • SimpleNavigationWithSaveableStateSample
Reach Android developers Put your product in front of engineers building Android and KMP apps. Sponsor Composables