Issue #411

April 26th, 2020

Articles & Tutorials

 
link image   To Mock, or Not to Mock, That is the Question (www.techyourchance.com)

In this post, Vasiliy Zukanov works on providing a definitive and final answer to the question: “are mocks in my unit tests good or bad?”.

 
Auto version code for Android: a simple approach (www.rockandnull.com)

Bevan Steele demonstrates one way to use Gradle to update your app's version code in a simple way.

 
Sponsored
link image   Build and operate Android apps faster with Bitrise (www.bitrise.io)

From Android-specific solutions to full cross-platform support, we aim to streamline your development process through one, easy-to-use service. Whether you work in Kotlin, React Native, or any other framework, Bitrise is the way to go. Sign up for a free trial today!

 
Dagger navigation support in Android Studio (medium.com)

Manuel Vivo announces that the latest Android Studio 4.1 comes with a new gutter icon that allows you to easily navigate between Dagger-related code: dependency producers and consumers, components, subcomponents, and modules! Also, you can find the same information in Find usages.

 
Sponsored
link image   Build A WhatsApp Clone On Android With Kotlin (getstream.io)

In this tutorial, we’ll build a functional clone of WhatsApp with Kotlin. Building a messaging app used to be difficult; in this tutorial, you’ll get a chat experience up and running in roughly 20 minutes.

 
Android Device Mirroring and Recording (handstandsam.com)

Mirroring and Recording what is on your physical Android Device to your computer isn’t trivial, but is an important skill to have as a developer. Sam Edwards shares the tools he uses to achieve this.

 
Consider aggregating elements to a map (blog.kotlin-academy.com)

Marcin Moskala shows how to convert data back and forth between lists and maps using Kotlin aggregating operations.

 
Android App Modularization at Wealthfront - Part 3 (medium.com)

In this third blog post on app modularization, Naren Manoharanl goes into detail about how to refactor our infrastructure modules with the help of interfaces.

 
What you might not know about the AlertDialog (proandroiddev.com)

The AlertDialog seemingly simple UI element has a lot of hidden features. This article covers some more advanced uses and caveats of it.

 
Jetpack Compose: Theme and Typography (alexzh.com)

Alex describes how to approach theming and typography in Jetpack Compose.

 
MergeAdapter at first glance (proandroiddev.com)

MergeAdapter is a tool we can use to combine different RecyclerView adapters together to separate logic and reuse them. Jintin describes how it works.

 
Exploring Jetpack Compose: Radio Group (joebirch.co)

Continuing his series examining Jetpack Compose, Joe Birch takes a look at Radio Groups.

 
Replacing Custom Views with View Binding (proandroiddev.com)

Jossi Wolf describes how view binding can be used to replace custom views.

 
AsyncAndroid: Introduction To Renderscript (blog.stylingandroid.com)

Mark Allison expands on his AsyncAndroid video that provides an introduction to Renderscript.

 
Make your code beautiful with Kotlin Property Delegates (dev.to)

Marc Reichelt describes the Kotlin Property Delegates feature to demonstrate how powerful they truly are.

 
Unit Testing ViewModel with Coroutines and LiveData (blog.mindorks.com)

Amit Shekhar shows how to write the unit test for ViewModel with Kotlin Coroutines and LiveData that follows a basic MVVM Architecture

 
Which is better on Android: divide by 2 or shift by 1? (jakewharton.com)

When CPUs were terribly slow it was quite common to save CPU cycles by replacing multiplications with shifts - but with modern architectures these benefits have been marginalised. Nonetheless this post by Jake Wharton is a nice piece of forensic engineering just to strive for the best performance.

 

Jobs

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

 

Libraries & Code

 
link image   andColorPicker (github.com)

Handy, flexible and lightning-fast material Android color picker view components

 
venom (github.com)

A lightweight tool that simplifies testing of the process death scenario

 
antimine-android (github.com)

Anti-Mine is a minesweeper puzzle game. The objective is: search for all hidden mines and clear the minefield without explode any of them.

 
Kotlin-Coroutine-Use-Cases-on-Android (github.com)

Learning Kotlin Coroutines for Android by example. Sample implementations for real-world Android use cases. Unit tests included!

 

News

 
link image   Android 11: Developer Preview 3 (android-developers.googleblog.com)

Developer Preview 3 release has a number of new features and changes for you to try, as well as the latest updates to existing features, APIs, and tools.

 

Videos & Podcasts

 
link image   The Apps, Games, & Insights podcast (appsgamesinsights.googledevelopers.libsynpro.com)

The Apps, Games, & Insights podcast brings together the latest insights and discussion from industry experts to developers, business decision makers and enthusiasts in the apps and games industry.

 
Android Accessibility (androidbackstage.blogspot.com)

In this episode, Romain, Chet, and Tor talked (remotely!) with Sally Yuen and Qasid Sadiq from the Accessibility team

 
Now in Android #16 (www.youtube.com)

In this video, Chet Haase goes over recent AndroidX releases, articles and videos on Database Inspector, Kotlin, Material Design Components and more, codelabs and samples on location and accessibility, and ADB podcast episodes

 
Async Android: Affogato Drop (www.youtube.com)

Async Android is a new collaboration among Android developers to create helpful tutorials and great Android developer content. This is the first series of videos released on April 24th.