Andrei RiikinMobilePeopleTip for testing Kotlin Coroutines with DispatchersIn modern Kotlin development, one of the popular approaches to testing coroutines is to pass a custom dispatcher to the class or function…Sep 6Sep 6
Andrei RiikinProAndroidDevMigrating UI-oriented Android library to Compose Multiplatform (Android/iOS)After years of evolution, it seems like we can finally say that Kotlin Multiplatform is here to stay. However, I still had this awkward…May 203May 203
Andrei RiikinMobilePeopleKotlin, Java, and C#. Differences and Similarities.You may know that Java and Kotlin programming languages are similar. But what might be surprising is that C# is not that far off. Let’s do…Feb 29Feb 29
Andrei RiikinProAndroidDevAndroid ViewModel: Single state or not?In the Android/Kotlin world, there are 2 ways to provide the state from the ViewModel layer to the View layer: single state and multiple…Jan 2210Jan 2210
Andrei RiikinMobilePeopleShould you use Jetpack Compose?Reasons for and against Jetpack Compose in Android development.Nov 23, 20232Nov 23, 20232
Andrei RiikinMobilePeopleMigration of Android library to Kotlin MultiplatformRecently I went through a process of migration with my Android/Kotlin lib, so here is a quick overview with possible issues you may…Jul 25, 2023Jul 25, 2023
Andrei RiikinMobilePeopleImage Picker on Android. What suits your needs?Let’s imagine a typical case in Android/Kotlin development when you need to make the functionality of sending an image to a back-end. It…May 10, 2023May 10, 2023
Andrei RiikinMobilePeopleHow to retry network requests automatically in Android + Kotlin3 popular ways in 2023: RxJava / Coroutines / OkHttpMar 14, 20233Mar 14, 20233
Andrei RiikWhat worries me the most is that CancellationException is not even a dedicated exception in…As I tested you can replace your check to java.util.concurrent.CancellationException and it still works.Mar 12, 2023Mar 12, 2023
Andrei RiikEasy caching Android + Kotlin + FlowThere are several cases when a good caching mechanism can help you as a developer and improve the quality of your app. Let me briefly tell…Feb 13, 2023Feb 13, 2023