Issue #387

November 10th, 2019

Articles & Tutorials

 
link image   Dagger Party Tricks: Deferred OkHttp Initialization (www.zacsweers.dev)

Zac Sweers shows how to leverage Dagger to defer OkHttp's initialization to a background thread and buy back precious startup time.

 
Unit Test a ViewModel logic with Cloud Firestore operations (proandroiddev.com)

Gaëlle Minisini shares a solution to unit test a ViewModel with Firestore operations.

 
Sponsored
link image   Check out our New Shows for Devs on YouTube (www.youtube.com)

Square has Android SDKs for building payments into your own app or even kiosks for in-person payments. We also have APIs to help you manage a business outside of payments—including keeping track of your inventory or taking orders in advance. Check out the new Square YouTube channel for developers.

 
Unit Testing Coroutine Suspend Functions using TestCoroutineDispatcher (craigrussell.io)

Coroutines provide an elegant way to write asynchronous code, but sometimes they make it difficult to write unit tests. Craig Russell describes how to use TestCoroutineDispatcher to write efficient and stable unit tests for code written with coroutines.

 
Sponsored
link image   Bitrise - CI / CD for your Android apps (www.bitrise.io)

From Android-specific solutions to full cross-platform support, we are here to streamline your Android development process through one, easy-to-use platform. Connect your repo and let us handle building, testing, and deployment for you. Sign up for a free trial!

 
Modularizing your Android app, breaking the monolith (Part 1) (www.coroutinedispatcher.com)

Stavro Xhardha starts a series of blog posts where he'll try to break a simple app into a modularized Android app using various techniques.

 
Working with RxJava Disposables in Kotlin\ (www.raywenderlich.com)

In this tutorial, Lawrence Tan teaches the basics of RxJava Disposables. You will be building an app from scratch that retrieves real-time cryptocurrency data.

 
Nearby Connection API (proandroiddev.com)

Suchi Bansal writes about nearby connections, a peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity.

 
Android CameraX: Tap to focus, Pinch to zoom, Zoom slider. (proandroiddev.com)

There’s been a lot of excitement around CameraX. With its next alpha release and its upcoming beta release next month, Husayn Hakeem takes a look at some of the new APIs and features that have been added.

 
ConstraintLayout Flow: Simple Grid Building Without Nested Layouts (www.bignerdranch.com)

ConstraintLayout chains are great, but they only work for one row of items. Andrew Marshall shows how ConstraintLayout Flow allows a long chain of items to wrap onto multiple rows or columns.

 
Learn Kotlin Through Unit Tests (medium.com)

It’s a scary first step to begin writing Kotlin code, especially if no one on the team is familiar with it. David Herman suggests starting with unit tests.

 
ProGuard & R8: Part 1 (dustn.dev)

Dustin Summers demystifies the ProGuard & R8 black box and teaches developers how to properly diagnose the code going into and coming out of these build tools. He explains why you should care and why applying these tools should be a priority before shipping any code into the wild.

 
AnimatedIcons: Loading V3 (blog.stylingandroid.com)

Mark Allison shows how to take a Lottie animated loading indicator, and implement it as an AnimatedVectorDrawable.

 
Kotlin extension functions: more than sugar (medium.com)

Kotlin’s extension functions have been around for a while, but Patrick Cousins takes a step back and looks more deeply at a core feature of the language.

 

Sponsored

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

 

Design

 
link image   The Evolution of Material Design’s Text Fields (medium.com)

Susanna Zaraysky shows how user research reshaped the design of Google’s open-source text fields.

 

Jobs

 
Android Developer (Bloomington, Illinois)

Come join the excellent Android Development team at State Farm! We love Kotlin, Jetpack, and keeping our crash-free rate 💯. Highly autonomous, easygoing, with excellent work/life balance. We deliver new features to Play Store every three weeks, and have the support to constantly pursue innovation.

 
Senior Android developer (Stockholm, Sweden)

Do you care about really high quality in code but also think it's important that the things you build are based on actual user needs and the user experience? Then Daresay is the right company for you!

 
Android/Kotlin Developer (Remote)

Join X-Team, the most energizing community for developers, and work with the world's leading brands on long-term, full-time teams. From anywhere.

 

Libraries & Code

 
ChiliPhotoPicker (github.com)

Photo picker library for android. Let's you pick photos directly from files, or navigate to camera or gallery

 
RxRequester (github.com)

Simple & Clean RxJava requester for Android

 
FlipTabs (github.com)

FlipTabs is a lightweight library that contains a 2-tab view that switches using flip animation

 
recycleradapter-generator (github.com)

Make displaying RecyclerViews easier by generating it's adapter with simple annotations

 

News

 
link image   Kotlin Cheat Sheet and Quick Reference (www.raywenderlich.com)

Download a handy 2-page PDF Kotlin Cheat Sheet and Quick Reference

 
Android Developers Blog: Modern app and game distribution on Google Play (android-developers.googleblog.com)

The Google Play team is focusing on modern app and game distribution — a set of powerful and customizable distribution features and tools that work together to power your success on Google Play.

 

Videos & Podcasts

 
link image   Talking Android Dev Summit 2019 with Florina Muntenescu (devpodcast.app)

Android Dev Summit 2019 brought many announcements and updates. Denis and Ash invited Florina Muntenescu to discuss highlights from two days of the major event for Android Developers this year.

 
Code Comments (fragmentedpodcast.com)

In this episode of Fragmented, Donn talks about when it’s appropriate to comment your code.

 
Kotlin/Everywhere Twin Cities 2019 (www.youtube.com)

Playlist of all the presentations from Kotlin/Everywhere Twin Cities