Issue #387
source link: https://androidweekly.net/issues/issue-387
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Articles & Tutorials
(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.
(proandroiddev.com)
Gaëlle Minisini shares a solution to unit test a ViewModel with Firestore operations.
Sponsored
(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.
(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
(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!
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(blog.stylingandroid.com)
Mark Allison shows how to take a Lottie animated loading indicator, and implement it as an AnimatedVectorDrawable.
(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
Design
(medium.com)
Susanna Zaraysky shows how user research reshaped the design of Google’s open-source text fields.
Jobs
(Bloomington, Illinois)
Come join the excellent Android Development team at State Farm! We love Kotlin, Jetpack, and keeping our crash-free rate :100:. 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.
(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!
(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
(github.com)
Photo picker library for android. Let's you pick photos directly from files, or navigate to camera or gallery
(github.com)
FlipTabs is a lightweight library that contains a 2-tab view that switches using flip animation
(github.com)
Make displaying RecyclerViews easier by generating it's adapter with simple annotations
News
(www.raywenderlich.com)
Download a handy 2-page PDF Kotlin Cheat Sheet and Quick Reference
(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
(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.
(fragmentedpodcast.com)
In this episode of Fragmented, Donn talks about when it’s appropriate to comment your code.
(www.youtube.com)
Playlist of all the presentations from Kotlin/Everywhere Twin Cities
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK