# A Deep Dive into Extensible State Saving

DevFeed: [A Deep Dive into Extensible State Saving](<https://devfeed.tech/articles/a-deep-dive-into-extensible-state-saving-27048.md>)

Original publisher: [Read original article](<https://zsmb.co/a-deep-dive-into-extensible-state-saving/>)

Author: Márton Braun

Published: 2019-03-19T20:00:00Z

Content type: tutorial

Language: en

Sources: [zsmb.co](<https://devfeed.tech/sources/zsmb-co.md>)

Topics: [saving](<https://devfeed.tech/topics/saving.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [marton-braun](<https://devfeed.tech/tags/marton-braun.md>), [saving](<https://devfeed.tech/tags/saving.md>), [zsmb](<https://devfeed.tech/tags/zsmb.md>), [zsmb-co](<https://devfeed.tech/tags/zsmb-co.md>), [zsmb13](<https://devfeed.tech/tags/zsmb13.md>), [zsmbco](<https://devfeed.tech/tags/zsmbco.md>)

## AI overview

This article explains how extensible state saving is implemented in AndroidX libraries and how ViewModel state saving connects to the system. It examines SavedStateRegistry, registered state providers, unique provider keys, saving state into a Bundle, and restoring provider data on request.

## Source excerpt

A perhaps overly thorough look at how extensible state saving is implemented in the AndroidX libraries, and how ViewModel state saving specifically is hooked into this system.