Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In the last lesson, you learned to save the state using the rememberSaveable function. rememberSaveable automatically saves values that can be added to a Bundle object, including primitives like Int or simple objects like String. For other values, you’d create a custom saver object and use it to save the state.

In this lesson, you’ll learn about the Parcelize interface and use it to create objects that can be added to the Bundle object. You’ll create custom saver objects and learn how to use them to persist state across configuration changes.

Time to dig in for more!

See forum comments
Download course materials from Github
Previous: Quiz: Handling Configuration Changes Next: Instruction