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 / Functions / SaveableStateRegistry
Function

SaveableStateRegistry

View Markdown Open in ChatGPT Open in Claude

Creates SaveableStateRegistry.

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

SaveableStateRegistry

Source set: Common
public fun SaveableStateRegistry(
    restoredValues: Map<String, List<Any?>>?,
    canBeSaved: (Any) -> Boolean,
): SaveableStateRegistry

Creates SaveableStateRegistry.

Parameters

restoredValues The map of the restored values
canBeSaved Function which returns true if the given value can be saved by the registry
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

API Reference ← Previous Saver Next →

On this page

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