Conclusion

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 this lesson, you’ve learned how to use the Parcelize interface to make data classes parcelable. This way you can persist their objects using the rememberSaveable function when a configuration change occurs. You have seen how to use the listSaver and mapSaver functions to convert an object to a set of values that can be added to the Bundle object. This makes it possible to save an object using the rememberSaveable function.

Jetpack Compose provides powerful tools like the Parcelize interface and thelistSaver and mapSaver functions that simplify common development tasks. By utilizing these features you can improve the user experience of your compose applications.

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Saving State