Issue #325

September 2nd, 2018

Articles & Tutorials

 
link image   Paging Library: Database + Network (medium.com)

In this post Reza Bigdeli will explain the best architecture to model an internal database which requests records on demand - and all that in a clean way.

 
Adventures in Navigation Land – Part 2 (blog.stylingandroid.com)

Last part of Mark Allisons Jetpack Navigation architecture component demo.

 
Sponsored
link image   Find Your Next Android Job With Hired (www.hired.com)

Hired is a career marketplace that intelligently matches tech talent with the world’s most innovative companies. We combine cutting-edge technology with unbiased career coaching so both talent and employers can find the right fit, faster. We are on a mission to find everyone a job they love.

 
Exploring Android Thread Priority (medium.com)

In this post you'll learn how the thread priority system in Android works. In most cases you won't have to deal with it but if you're writing a realtime application or doing something with sound synthesis you might like this refresher about the internals.

 
I exchanged RxJava for coroutines in my Android application (proandroiddev.com)

In this article Paulo Sato explains how he used coroutines as a lighter and maybe faster alternative to RxJava.

 
Sponsored
link image   Can’t fix your app’s bugs and crashes fast enough? (headspin.io)

HeadSpin gives you visibility behind app crashes and UI bugs. See your app’s client-side, client-server, network, and UI metrics behind the issues. Track user flows that lead to crashes and easily reproduce bugs so you can fix underlying issues faster. Find out more here.

 
A major release just around the corner — meet Kotlin 1.3-M2 (blog.jetbrains.com)

A new release is coming up and here are some of the highlights: Contracts improve smart-casts and other compile-time analyses. New Standard Library functions for unsigned types and collections. Reflection for coroutines. A migration layer to aid migration onto new coroutines being graduated in 1.3. Numerous bugfixes related to inline classes.

 
What’s new in the Android Developer Certification exam (medium.com)

Great insight by Achraf Amil. TL;DR: Architecture Components are now required, still no Kotlin, you only have 8 hours (instead of 24h), you’ll need to use an android studio plugin to submit, and exit interview got fully automated.

 
How to Publish Android Library in Bintray using Travis CI (medium.com)

In this post you'll learn how to continues delivering a library to Bintray using Travis CI. Since mostly you're not doing this on a day to day basis we found that article very helpful.

 
Why I Will Not Use Architecture Navigation Component (medium.com)

Interesting article by Josef Raska on why we won't use the Architecture Navigation Component. Though we generally like the Architecture Navigation Component some of his arguments resonated with us (especially testing).

 
Writing UI Tests with Espresso and Kakao (proandroiddev.com)

Good introduction by Joao Alves on how to write UI Tests with Espresso and Kakao. Kakao is in essence, a Kotlin DSL for Espresso written by the Android team at Agoda. It was created to help them write UI tests faster and in a cleaner way, and also to make them more readable.

 
Exploring Spannable Performance (blog.danlew.net)

Ever wondered how performat SpannableStringBuilder is? This blog posts shows some benchmarks and also explains how things can be done faster.

 
Null Safety Through Kotlin Extension Functions (proandroiddev.com)

In this post you'll learn how to leverage Kotlin Extension Functions and the Elvis operator to thin out errors when accessing a null reference.

 
Exporting TensorFlow models to ML Kit (medium.com)

In this tutorial Miquel Beltran will explain the process of exporting a TensorFlow model so that it can run on a mobile device.

 
Reduce Your App’s APK Size, Even If You Use Realm (medium.com)

In this post by Bapusaheb Patil you'll learn how to reduce the filesize of a chunky APK (due to Realm) leveraging APK splitting.

 
Announcing Okio 2: Our fast + simple I/O library (medium.com)

The incredible Square devteam has announced Okio 2. Okio has completely ported to Kotlin which makes it a first class citizin in the Kotlin ecosystem. It also handles concurrent code better with coroutines.

 
Kotlin Contracts: Make Great Deals With The Compiler! (medium.com)

In this post Adib Faramarzi will explain briefly what contracts can be used for and why they're awesome.

 

Sponsored

 
Place a sponsored post & reach over 65k Android devs (androidweekly.net)

 

Jobs

 
Software Engineer, Android (Los Angeles, CA - New York, NY - Mountain View, CA)

We’re looking for Android Engineers of various levels to join Snap Inc! As a member of the Engineering team, you’ll play a key role in building and shaping features that millions of Snapchatters use every day.

 

Libraries & Code

 
link image   Dresscode (github.com)

Do you need themes in your App that can be changed during runtime? Then dresscode is for you.

 
Transitioner (github.com)

A library for dynamic view-to-view transitions

 
Android Chipview Widget (github.com)

A checkable widget for Android based on the EventFilterView from the Google I/O 2018 app.

 
MvRx: Android on Autopilot (github.com)

MvRx (pronounced mavericks) is the Android framework that uses Airbnb for nearly all product development. It's build upon the following technologies: Kotlin, Android Architecture Components, RxJava, React (conceptually), Epoxy (optional but recommended) and helps you to stay sane during development.

 

News

 
link image   ConstraintLayout 1.1.3 is out (androidstudio.googleblog.com)

Fixes Barriers clone() in ConstraintSet. When setting ids of views programmatically, constraints were not correctly updated. Barriers position fixes with centered connections. Chains evaluation not correctly reset in some situations resulting in large performance penalty. Chains optimisations are turned on by default (app:layout_optimizationLevel).

 

Videos & Podcasts

 
Update Your Android Studio Editor Theme (www.youtube.com)

Life's too short to not enjoy your IDE editor theme. Let's take a quick look at how to import a custom editor theme into Android Studio or IntelliJ.