Learn how to use the data management and presentation tools of the Android SDK. David Gassner demonstrates how to use shared preferences, JSON-formatted text files, and SQLite to manage data. He shows you how to customize data display and handle common events.
- [Instructor] My name is David Gassner. Welcome to this course about managing and presenting data in Android apps. After a discussion of design patterns for modeling data with Java classes, I'll describe some of the Android SDK's data presentation tools, including the older list view, and its successor, recycler view. Using both of these components, I'll show you how to customize your data display, and handle common events. Then I'll move to data persistence. I'll show how to work with shared preferences, key value pairs that are stored in XML files and are managed automatically by the SDK.
Then I'll describe how to create your own files in internal and external persistent storage, and how to create and read JSON formatted data files, with the GSON library from Google. And finally, I'll show you how to create and manage an SQLite database, for working with more complex relational data. I hope that this course helps you improve your Android programming skills, and helps you get ready to build data-centric Android apps.
- Modeling data in POJO classes
- Customizing a ListView item display
- Displaying data in a RecyclerView
- Creating a custom array adapter
- Managing shared preferences with Java
- Creating and importing JSON data files
- Accessing SQLite from the command line
- Retrieving data with SQLite queries