This Week’s Links
Fragmented Podcast – Ep #93 – RxJava Java Intervention with Dan Lew
This week, Donn (@donnfelker) and Kaushik (@kaushikgopal) talk to Dan Lew about RxJava. Donn and Kaushik have used RxJava over the years and have even talked to Dan about it in previous episodes. This episode focuses on how their understanding of Rx use in Android has changed over the years. They know some of the super standard usecases for RxJava in AndroidDev, but the important question to be asking is: When are the times we “shouldn’t” be using RxJava? Are we over-complicating our code by shoe-horning it in different places? As concepts like functional programming and reactive state management have picked up steam again, how has this influenced our RxJava use? Listen to find out.
How to Add a Fragment in Kotlin Way
How many minutes, if not hours, have you wasted debugging your application? In this post, learn how to add a fragment in just two steps using Kotlin and save yourself some time.
Android Room: Upgrading Alpha Versions Needs a Migration with Kotlin or @NonNull
If you are using Room in your app and want to update to newer versions above
1.0.0-alpha8, you will need to migrate the DB if your entity is written in Kotlin or uses the
NonNull annotation. This post gives step-by-step instructions for when you’re ready to migrate your DB.
Porting a Python Library to Android .. Things – The InkypHat
Android Things allows you to create driver libraries around your Internet of Things peripherals. This powerful platform feature allows you to use peripherals without needing to know the low level details. In this blog post, learn how such a driver was created for the Inky pHAT e-paper display.
How the Android Image Loading Library Glide and Fresco Works?
In Android, working with images (bitmaps) is really difficult as the application goes out of memory (OOM) very frequently. Android libraries Glide and Fresco can solve this problem. Check out these posts for a breakdown of how these libraries can help.
Taming State in Android with Elm Architecture and Kotlin, Part 1
As an app’s codebase grows, presenters become more and more bloated, with lots of callbacks for async and local variables for mutating state in different places. The flow of data and logic becomes tricky and hard to test. Enter The Elm Architecture. The first part of a three part series will show how to use Elm Architecture to manage complex UI logic.
Migrating MediaStyle Notifications to Support Android O
If you are using MediaStyle notifications on API level 25 and lower, take a look at this article, which is a migration guide for moving these to Android O. MediaStyle notifications are typically used by bound and started services that allow audio playback to occur in the background.
(these are pulled from Androiddevdigest.com/jobs)
Senior Android Engineer
Need to hire an Android professional? Post a job here
30+ Bite-Sized Pro Tips to Become a Better Android Developer
Looking to becoming a better Android developer? Check out these more than 30 bite-sized pro tips to aid you in your journey.
Caster.io Espresso Test Recorder – Recording an Espresso Test
Espresso Test Recorder is a fantastic tool for “breaking the ice” and trying Espresso for the very first time. It’s a clean and simple user experience, and generates Espresso code. Whether you are a developer trying out Espresso for your first time, or a Testing Engineer that is trying Espresso, the Test Recorder is a great place to start. This lesson will teach you how to use Espresso Test Recorder, and create your first Espresso UI test for an Android application.
Caster.io Espresso – repeatedlyUntil
Android Test Support Library 1.0 launched a new
repeatedlyUntil, which allows you to execute an action on a view until a certain condition is met. Watch this video to see an example of
repeatedlyUntil, including how to decide what to put in each parameter.
Use NoiseView to add the ability to easily add a noise effect to your image.
Use this to create an Android slide menu that supports left and right swipes and slides with parallax.