"Elements of Android Jetpack" Version 1.9 Released

Subscribers now have access to Version 1.9 of Elements of Android Jetpack, in PDF, EPUB, and MOBI/Kindle formats. Just log into your Warescription page to download it, or set up an account and subscribe!

This is a maintenance update, with minor tweaks for Android Studio 4.1.1. This includes some notes about using the inline emulator (where the emulator appears in a tool window in the IDE itself) and the Database Inspector for examining SQLite databases.

It also replaces all uses of Kotlin synthetic accessors with view binding, since Kotlin synthetic accessors are now deprecated. There also were some legacy findViewById() uses in the Java samples, so those too were updated to use view binding.

A few minor adjustments were made for Android 11, with respect to storage and permissions. This includes switching (for a while) to use android:requestLegacyExternalStorage="true" in the Files chapter’s main sample.

In addition:

  • Many dependencies were updated throughout the app

  • A bunch of bugs were fixed

The next update, to 2.0, should be out in a month and will only have bug fixes. Version 2.1 should come out after Android Studio 4.2 ships a stable release.

Nervous about how the newest version of Android affects your app? Consider subscribing, then asking questions in the office hours chats!