Data management
Stay organized with collections
Save and categorize content based on your preferences.
Many Android apps store and retrieve user information that persists beyond the
life of the app.
To prepare for the Associate Android Developer certification exam, developers should:
- Understand how to define data using Room entities
- Be able to access
Room
database with data access object (DAO)
- Know how to observe and respond to changing data using
LiveData
- Understand how to use a Repository to mediate data operations
- Be able to read and parse raw resources or asset files
- Be able to create persistent Preference data from user input
- Understand how to change the behavior of the app based on user preferences
Related Course Content
Other Resources
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-05 UTC."],[[["\u003cp\u003eAndroid apps often need to store and retrieve user information that outlasts the app's active session.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers preparing for the Associate Android Developer certification should understand key concepts like Room entities, DAOs, LiveData, Repositories, and persistent Preferences to manage data effectively.\u003c/p\u003e\n"],["\u003cp\u003eThe provided resources, including codelabs and course content, offer hands-on learning experiences for mastering these data persistence techniques.\u003c/p\u003e\n"],["\u003cp\u003eAchieving competency in these areas is crucial for building robust and user-friendly Android applications.\u003c/p\u003e\n"]]],[],null,["# Data management\n\nMany Android apps store and retrieve user information that persists beyond the\nlife of the app.\n\nTo prepare for the Associate Android Developer certification exam, developers should:\n\n- Understand how to define data using Room entities\n- Be able to access `Room` database with data access object (DAO)\n- Know how to observe and respond to changing data using `LiveData`\n- Understand how to use a Repository to mediate data operations\n- Be able to read and parse raw resources or asset files\n- Be able to create persistent Preference data from user input\n- Understand how to change the behavior of the app based on user preferences\n\nRelated Course Content\n----------------------\n\n- [Android Basics in Kotlin Unit 3 - Navigation, Pathway 3: Architecture components](https://developer.android.com/courses/pathways/android-basics-kotlin-unit-3-pathway-3)\n- [Android Basics in Kotlin Unit 3 - Navigation, Pathway 4: Advanced navigation app examples](https://developer.android.com/courses/pathways/android-basics-kotlin-unit-3-pathway-4)\n\nOther Resources\n---------------\n\n- [Android Developers -\\\u003e Shared preferences](https://developer.android.com/training/data-storage/shared-preferences)\n- [Codelabs -\\\u003e Room with a View (Kotlin)](https://codelabs.developers.google.com/codelabs/android-room-with-a-view-kotlin/index.html#0)\n- [Codelabs -\\\u003e Room with a View (Java)](https://codelabs.developers.google.com/codelabs/android-room-with-a-view/index.html#0)\n- [Codelabs -\\\u003e Room, LiveData and ViewModel](https://codelabs.developers.google.com/codelabs/android-training-livedata-viewmodel/index.html#0)\n- [Codelabs -\\\u003e Repository](https://codelabs.developers.google.com/codelabs/android-training-livedata-viewmodel/index.html#0)\n- [Codelabs -\\\u003e Shared preferences](https://codelabs.developers.google.com/codelabs/android-training-shared-preferences/index.html#0)\n- [Codelabs -\\\u003e ViewModel and ViewModelFactory](https://codelabs.developers.google.com/codelabs/kotlin-android-training-view-model/index.html#0)\n- [Codelabs -\\\u003e App settings](https://codelabs.developers.google.com/codelabs/android-training-adding-settings-to-app/index.html#0)\n- [Codelabs -\\\u003e Drawables, styles, and themes](https://codelabs.developers.google.com/codelabs/android-training-drawables-styles-and-themes/index.html#0)"]]