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.
Is Your Kotlin Code Really Obfuscated?
Kotlin and ProGuard should integrate seamlessly and everything should just work. But is your Kotlin code really fully obfuscated?

Read More
Did you know you can specify a reason for using a certain dependency or certain version of a dependency? Why would you though?
An early look at the next version of Android, for testing, development, and feedback. Try it today on your Pixel 2, 3, 3a, or 4 device!
Using theme attributes and ColorStateLists to factor colors out to your theme makes your layouts and styles more flexible, promoting reuse and keeping your codebase lean and maintainable.
I’m a big fan of determinism. It’s part of why I love Kotlin as a programming language. I like pushing problems to the compiler. I like using types for expressiveness and safety. And I really like sealed classes for representing state. One of the tools in Kotlin that allows us to achieve greater determinism is the language’s when expression.
n the last post we took a look at the Top App Bar component within Jetpack Compose. Here we learnt how to create toolbar-like components to hold the title and menu options for screens in our applications. Because we created the navigationIcon for our top app bar within that article, it feels natural to now take a look at creating the navigation drawer itself using Jetpack Compose.
Libraries and useful resources
Modular and customizable Material Design UI components for Android.
LiveStream is a simple class which makes communication easy among different modules of your application.
Barcode Scanner Library by Google Mobile Vision Api with RxJava.
Hannes talked to Sakis Kaliakoudas how the Babylon Health Android app is architected by using MVI and clean architecture, how they document their code base, how the CI pipeline looks like, how feature teams are organized and much more.
Class of the week
Accessibility services should only be used to assist users with disabilities in using Android devices and apps. They run in the background and receive callbacks by the system when AccessibilityEvents are fired. Such events denote some state transition in the user interface, for example, the focus has changed, a button has been clicked, etc. Such a service can optionally request the capability for querying the content of the active window.
Beyond Android
The stereotypes that lump IT professionals together are misguided. It's actually the conditions that surround the IT pros that are stereotypical, and the geeks are just reacting to those conditions the way they always react -- logically.