-
Getting root view of Activity in Android
Sometimes we need to get root view of Android Activity. See the different approaches on how to do it.
-
Fixing compilation error with Room+coroutines
Using Room with Kotlin Coroutines without compilation errors
-
Parsing URL query string in Kotlin
Sometimes you may need to parse a query string into a key-value map. Someone will suggest you to use a library like Apache, but I think it’s too easy task to add a library for it. Many solutions (on StackOverflow, for example) don’t take into account that URL query string can have multiple values for…
-
Android project code style using Spotless and ktlint
When you write code, it’s always good to follow some common code style. But doing this manually, even using modern IDEs like Android Studio is painful — sooner or later you’ll forget about this.