ProAndroidDev Digest #8

Sergii Zhuk
ProAndroidDev
Published in
2 min readJun 5, 2019

--

Welcome to the new ProAndroidDev digest! This issue is brought to you by our friend Mario Sanoguera de Lorenzo.

Replace ProgressDialog with a progress button in your app by Anton Hadutski. How do you create a Progress Button from scratch? Check this article to get started so your app can show non-blocking progress as per latest Material Design Guidelines.

Android CameraX: Preview, Analyze, Capture by Husayn Hakeem. Camera Development is getting easier with the new Jetpack CameraX API. Obtain useful insights regarding the three different handlers, lifecycle binding and further links to extend your knowledge around CameraX.

Kotlin Pearls: Multiple Inheritance by Uberto Barbini. Implementation by delegation? Great article with incremental examples to extend your knowledge of Kotlin’s `by` keyword and how you can use it for interface implementation delegation.

Getting started using Moshi for JSON parsing with Kotlin by Alex Forrester. Square’s Moshi library parses JSON, is light (codegen) and supports Kotlin language features. This article shows how to set up it up, parse JSON into a simple model and create your own adapter. It also explains how Moshi treats null and absent JSON fields.

Railway Oriented Programming in Kotlin by Antony Harfield. What is Railway Oriented Programming? This article starts with a simple happy path scenario (reading, parsing and sending an email) and evolves to cover all of the things that can go wrong. Deeply nested code is a code smell but Railway Oriented Programming is here to save you.

Playing with Material Design Transitions by Philippe Boisney. Want to improve your knowledge regarding material design animations? Check this article to learn about transitions, shared elements and animated vector drawables!

Moving to the Dark Side: Dark Theme Recap by Yaroslav Berezanskyi. Android Q brings a new Dark theme that applies to both the Android system UI and apps running on the device. Check this technical walkthrough of Dark Theme implementation which includes Android Q updates.

We are reachable via editors@proandroiddev.com. We look forward to reading your feedback, article submissions, and partnership ideas.

Follow us on Facebook and Twitter, and see you soon!

Cheers, ProAndroidDev Team

Sergii Zhuk . Simon Percic . Andy Dyer . Antonio Gutierrez

--

--