From the course: Android Development Essential Training: Manage Data with Kotlin

Mobile apps for a data-driven world

From the course: Android Development Essential Training: Manage Data with Kotlin

Start my 1-month free trial

Mobile apps for a data-driven world

- [David] Nearly every app that you might want to build for mobile devices will use some kind of data. The data could be a small and apparently insignificant as a single text or numeric value or it could be as complex as a complete relational database with multiple tables. Recommended best practices for working with data in Android apps have changed a lot in the last couple of years. Fundamentally, the platform is moving from it's legacy roots with Java to the newer programming language, Kotlin. But lots more has also changed. If you want to work with shared preferences, those small bits of data stored in XML files, but managed by the Android SDK there's a new library for that. If you want to read and write arbitrary text files, Kotlin requires significantly less code compared to the old ways with Java and Square's open source Moshi library makes it easy to read and write data files formatted with JSON. And if you want to work with local relational databases, the room architecture component simplifies the process of defining your database and then storing or retrieving your data. In this course, I'll describe these new libraries and development techniques and show you how to build an Android app that uses data in many different forms and formats.

Contents