Issue #421

July 5th, 2020

Articles & Tutorials

 
link image   Introducing 🌈RainbowCake (zsmb.co)

Márton Braun announces RainbowCake, an Android architecture framework, providing tools and guidance for building modern Android applications. It builds on top of Jetpack, both in terms of code and ideas.

 
Bringing modern storage to Viber’s users (android-developers.googleblog.com)

Scoped storage was introduced in Android 10 with further improvements in Android 11 to provide better protection to app and user data on a platform level. This article gives an overview of how the Viber team updated their app.

 
Tackle tech debt with @Deprecated annotation (medium.com)

Cédric demonstrates Kotlin's @Deprecated annotation, and how it introduces a new parameter ReplaceWith allowing you to replace old code with shiny new.

 
Sponsored
link image   Place a sponsored post & reach over 66k Android devs (androidweekly.net)

Reach thousands of Android developers around the world with a posting on Android Weekly.

 
Beware PackageManager leaks! (dev.to)

Py, the creator of LeakCanary, took some notes as he learned about the lifecycle of android.app.ContextImpl and android.app.ApplicationPackageManager while investigating an Android memory leak.

 
SQLite: when Insert means Delete (medium.com)

Júlio Zynger describes an interesting scenario while using Foreign Key trigger actions, and how their usage in combination with insertion statements can raise unexpected effects.

 
Kotlin Unit Tests with Parameters (medium.com)

Catalin Gheorghe shares two ways you can easily reduce the boilerplate code by writing unit tests that accept parameters in Kotlin using JUnit 5.

 
Going Deep on Jetpack Benchmark (medium.com)

Yawei gives a deep dive into what Jetpack's benchmark library has done to improve the result accuracy.

 
Android 11 Storage FAQ (medium.com)

Lead engineer for Scoped Storage shares this FAQ for planning your adoption of it.

 
Package visibility in Android 11 (medium.com)

With Google's ongoing focus on privacy, Yacine Rezgui writes about how they’re introducing changes on how apps can query and interact with other installed apps on the same device on Android 11.

 
Static code analysis tools for Android (Kotlin) (www.rockandnull.com)

Code quality is incredibly important for the long term maintainability of any software project. In this post, Bevan Steele focuses on Detekt and Ktlin which are some of the most popular tools for Kotlin.

 
Creative function composition with extensions & operator overloading (harivignesh.netlify.app)

This post by Hari Vignesh Jayapalan showcases a couple of creative ways to compose a function. It leverages the power of extension functions and operator overloading.

 
New Android 11 tools to make apps more private and stable (medium.com)

Sara N-Marandi introduces two new tools in Android 11: Data Access Audit APIs and Process Exit Reasons, to give you more transparency into your private data access and causes of process exits.

 
NumberPicker: Espresso Testing (blog.stylingandroid.com)

In this article, Mark Allison looks at some techniques for creating Espresso tests for NumberPicker.

 
Fueled Reactive apps with Asynchronous Flow — Part 6 (proandroiddev.com)

Raul Hernandez Lopez wraps up this series of articles on Coroutines Flow by sharing lessons learned & next steps.

 
Multiplatform Persistence with SQLDelight (gh.jdoneill.com)

In this post, Dan O'Neill steps through the basics of getting started with SQLDelight for Android and iOS using a template project set up to compile to both platforms.

 

Libraries & Code

 
link image   antimine-android (github.com)

Antimine is a minesweeper-like puzzle game. The objective is to flag the spaces with mines to make the field a safer place without exploding any of them.

 
RainbowCake (rainbowcake.dev)

RainbowCake is both a set of dependencies that contain classes and other constructs to use in your applications, and guidance on how these applications should be implemented.

 

News

 
link image   2020 Material Design Awards - Nominations (design.google)

Nominate your product for a 2020 Material Design Award and help us showcase the flexibility and capability of the Material Design system. The deadline for self-nominations is October 16, 2020; winners will be announced in December

 

Videos & Podcasts

 
link image   droidcon Italy webinar series (www.youtube.com)

A playlist for an ever-growing set of Android development webinars published by droidcon Italy.

 
The Local Firebase Emulator UI in 15 minutes (www.youtube.com)

In this video, you will learn how to set up Firebase emulators so you can develop without network latency, create better unit and integration tests, run Firebase in continuous integration, and experiment without the fear of breaking everything.

 
Creating an Action for the Google Assistant with Actions SDK (www.youtube.com)

In this episode, Jessica Dene Earley-Cha goes over major concepts and builds a Conversational Action using the Actions SDK.

 
Android Developers Backstage: Shhhh! Private! (androidbackstage.blogspot.com)

In this episode, Tor, Chet, and Romain talk with Sara N-Marandi and Philip Moltmann from the Android framework team about some of the new permissions changes in Android 11

 
How to approach mobile experiences (www.youtube.com)

In this episode of our video series The Update, Natalie Zmuda, global executive editor of Think with Google, talks to Marvin Chow, VP of consumer apps marketing at Google, about how brands can put their customers first and deliver great mobile experiences.