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.
Hello ViewBinding, goodbye findViewById
It is often said that developers are lazy and that is (usually) a good thing. It just means that instead of repeating the same task or code over and over they tend to find ways to prevent that repetition and optimising their time.

Read More
Enums are (and have always been!) a recommended way to model a fixed set of constants. Most commonly an enum only provides a set of possible constants and nothing more. But being full classes, enums can also carry helper methods and fields (both instance and static) or even implement interfaces.
With AutoML Vision Edge, you can create custom image classification models for your mobile app by uploading your own training data.
Since we announced adding Kotlin as an officially-supported language on Android, we’ve recommended a staged approach when adopting Kotlin. At the beginning, this means writing code such as tests and new features in Kotlin, which typically means calling from Java code into Kotlin.
What’s is price of Kotlin null safety and how to remove additional bytecode.
Jetpack compose is still in labs(pre-alpha), Let’s find out if we can compose anything with Jetpack compose or not.
Libraries and useful resources
Insetter is a library to help apps handle WindowInsets more easily.
A smart and reliable companion library for debugging your Android apps.
How do you know if some code is over-engineered? What does that even look like? How do you know if you’re over-engineering the code that you’re writing? What if you recently started at a new company, how do you know if the code you’re working with is over-engineered? In this episode, Kaushik and Donn go back and forth on this topic.
Class of the week
Incremental data loader for paging keyed content, where loaded content uses previously loaded items as input to future loads.
Beyond Android
I’ve written about lots of computer vision and machine learning projects like object recognition systems and face recognition projects. I also have an open source Python face recognition library that is somehow one of the top 10 most popular machine learning libraries on Github. Together, that means that I get asked a lot of questions from people new to Python and computer vision.