Fresh news from Droid zone
Hello, you're reading Infinum Android Sweets, bringing you the latest Android related news straight to your inbox every week.
Android Unidirectional Data Flow — Kotlin Flow vs. RxJava
One of the many great things about the Unidirectional Data Flow (UDF) to organize an app’s logic is that it works with any reactive programming pattern, whether it be Kotlin coroutines Flow (Flow), ReactiveX (Rx) based RxJava/Kotlin, or LiveData.
Read More
Articles
In this tutorial, you’ll learn how to use scoped storage in your Android 10 app by building a simple image gallery.
The title might sound like a B-rated horror movie, but in reality, Kotlin’s “reified” keyword helps you do things that were not possible before. Generics provide type safety and help you avoid explicit type casts.
It would seem that everything should work, but there are also limitations in foreground services.
In this blog, we are going to talk about the Extension function and util class in Kotlin. We will learn when to use which one and what are the advantages of using them.

Libraries and useful resources

Playground project for the Jetpack Compose APIs. Contribute to hitherejoe/ComposeAcademy-Playground development by creating an account on GitHub.

This codelab aims to teach you how to use insets to avoid gesture conflicts. Additionally, this codelabs aims to teach you how to use the Gesture Exclusion API for controls, such as drag handles, that need to reside in the gesture zones.
Videos/Podcasts
In this episode, Romain, Chet and Tor talked with Nick Anthony and Alan Viverette from the AndroidX team about... AndroidX. And Jetpack. And androidx.
Class of the week
An interface for plugging components that consumes and contributes to the saved state. This objects lifetime is bound to the lifecycle of owning component: when activity or fragment is recreated, new instance of the object is created as well.
Beyond Android
I’ve been reading another Flutter-praising article that mentioned an application supposedly written in this framework. According to the author of the article, the application was indistinguishable from a native iOS app using Apple-provided controls from UIKit. I found it hard to believe because every Flutter app I’ve used had serious UI/UX issues compared to most native apps. So I decided to give it a try.