Illustration by Virginia Poltrack

Now in Android #22

Android 11 Beta 2, AndroidX, articles and videos, the Android Studio AMA, training, #11WeeksOfAndroid, Android 11 online meetups, and more ADB podcasts

Chet Haase
Jul 29, 2020 · 9 min read

Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development.

Wow, so much content posted since the last episode. I think the real name for 11 Weeks of Android should be “A Year’s Worth of Content released in 11 Weeks.” It’s not as catchy, but it seems more honest.

NiA22 in Video and Podcast Form

Video

Podcast

Android 11 Beta 2: Platform Stability

Dial it up to Android 11

The Android 11 release just hit Beta2, also called Platform Stability. This new release milestone means that the APIs and behaviors are locked and there will not be any other compatibility changes through the final release. So now is a really good time to test your app and see how it’s going to behave on Android 11 devices.

Check out the Beta2 article and the Android 11 preview site for all of the details and the bits to download.

AndroidX

New Releases!

WorkManager 2.4: Besides many bugfixes, this release also has some important new functionality, including:

  • Support for RxJava 3
  • A new WorkQuery API so you can find out what’s up with your WorkInfo requests
  • Diagnostic info to give you metrics on how things have been going

AndroidX is on Github!

It’s early days, and only a small subset (Room and WorkManager) is available for contributions so far. But it’s an important start. Read the article for all of the details.

Articles & Videos

The Game Show

Introducing Android Performance Tuner covers the new tool in the Games SDK that let’s you see detailed information about the performance of your app on your users’ devices, all inside of Android Vitals in the Play Console.

Play Asset Delivery talks about the ability to deliver the right assets at the right time to your users’ devices.

Check out these shows above, follow the playlist, and look for more content soon.

Building Apps for Work Profiles

Aser Samak posted this video with some best practices to make your app work well in work profiles.

But I Want it Now!

Ben Weiss posted this article on using WorkManager for long-running tasks that should be executed immediately:

IOSched + Hilt

The previous version of IOSched used Dagger for depending injection. The team migrated it to use Hilt instead. I’ll let you read the article for the details and advantages. (Spoiler alert: they were able to delete many more lines of code (2000) than they added (500)… and it wasn’t just by writing longer lines.

LiveData + Coroutines

Training

New Course: Android Basics in Kotlin

Kotlin pathways

Coroutines: Coroutines are the recommended approach to asynchronous programming in Android. If you’re not using them yet, maybe some training will help. This pathway helps point you in the right direction, with codelabs and articles.

Kotlin for Java Developers: Are you a Java developer trying to understand how to write in Kotlin, or how to add Kotlin code to your existing Java project? This pathway will help, with codelabs and articles specifically targeted at Kotlin+Java interop and migration.

AndroidStudio AMA

This Thursday, July 30th, at noon California time, we’re hosting an AMA with many people from the Android Studio team, who will be answering your questions as fast as they can.

Join us live if you can. But given the short notice, you might be getting this information after it’s already happened. In that case, just check out the AMA site and see what happened!

11 Weeks of Android

We are continuing 11 Weeks of Android with new topics every week. Since last episode, we finished off Android 11 Compatibility, then did a week on Languages, another on Jetpack, and are now in a week dedicated to developer tools. Here’s how to find out more about each of these topics:

Week 4: Android 11 Compatibility

For an overview of the content that the week had to offer, check out this learning pathway as well as the wrap-up blog and video playlist.

Week 5: Languages

Check out the wrap-up blog for all of the details, as well as the video playlist for the week.

Week 6: Android Jetpack

Check out the wrap-up blog for all of the details, and the video playlist to play those videos.

Week 7: Android Developer Tools

Next week: App Distribution & Monetization.

Android 11 Meetups

The online meetups that I talked about last time have continued apace, with events happening all over the world. For example, this Thursday I’ll be speaking at one of these events that will be co-hosted by Google Developer Groups in Boston, New York, Mexico, and Argentina (these online events are really bringing people together…).

Check out the Android 11 Meetups site to find one happening near you.

ADB Podcast Episodes

There have been two more episodes of Android Developers Backstage posted since the last Now in Android. Check them out at the links below, or in your favorite podcast client.

ADB 144: Compilers

ADB 145: Grab that Dagger by the Hilt

Now then…

Android Developers

The official Android Developers publication on Medium