InDev GeniusbyMuskan SanghaiDon’t Let Your ViewModel Leak! 🚫 The Ultimate Guide to Taming Kotlin Flow Collectors 😎If you’ve been diving into Kotlin Flows in your Android ViewModel and suddenly feel like your memory is sinking faster than the Titanic…Nov 3, 2024100Nov 3, 2024100
InProAndroidDevbyAung ThihaKotlin Constants in Android: Top-level vs. Companion-enclosedDoes the choice between the two affect performance, APK size, or memory usage? Let’s break it down by diving into the bytecode.Feb 63622Feb 63622
Gaëlle MinisiniAdvanced Kotlin Coroutine Cheat sheet (for Android Engineer)This cheat sheet consolidates the key insights I’ve picked up along the way.Jul 26, 20241.5K15Jul 26, 20241.5K15
Zorbey TorunoğluWhy your “BaseActivity” is anti-pattern. Kotlin DelegationsOften, you can see people having classes named “BaseActivity” or “BaseFragment”. The main argument of theirs is they sometimes need to…May 5, 20247715May 5, 20247715
Michal AnkiersztajnKotlin Mutex ExplainedMutex stands for Mutual Exclusion and solves the problem of accessing critical code sections. Learn by example…May 27, 20241572May 27, 20241572
Kacper WojciechowskiKotlin 2.0 — Android project migration guideKotlin has gone through quite a journey since it’s first release. Now it is reaching a new milestone—a 2.0 release. As of the writing of…May 12, 20245871May 12, 20245871
InProAndroidDevbyMuhammad Mohsin ShafqatChoosing Between Sealed Class and Sealed Interface in Kotlin for Android DevelopmentFeb 22, 20243418Feb 22, 20243418
InProAndroidDevbyTorcheux FrédéricAre you sure you know how Kotlin Flow works?Test your Kotlin Flow knowledge through 8 code examplesNov 10, 20231.2K10Nov 10, 20231.2K10
InBetter ProgrammingbyMichael LongKotlin Multiplatform, Compose Multiplatform: Apple’s Strategic FailureIf Apple will not lead, then someone else will do so.Aug 31, 20231.3K33Aug 31, 20231.3K33
InMake Apps SimplebyAbhimanyuIs multiplication always commutative in Kotlin 🤔?Aug 23, 2022301Aug 23, 2022301
Renee VanderveldeValues, not EnumsHow I stopped using enums and embraced type-safe value classes.Sep 18, 20221645Sep 18, 20221645
Ailton JuniorKotlin and the ZIP/UNZIPIn the end of this article, you will be able to:Jan 25, 2022301Jan 25, 2022301
Sebastian B.9 Java Patterns That Kotlin Made ObsoleteAfter the Kotlin 2021 Premier Online Event taking place just recently and the book “Java to Kotlin: A Refactoring Guidebook” by Duncan…Dec 6, 20214324Dec 6, 20214324
Filipe MartinsData Transfer Object (DTO) with Kotlin data classes and extension functionsIt’s something simple but makes the code much cleanerJan 18, 20221332Jan 18, 20221332
Ankit SinhalKotlin Lazy vs Lateinit Properties. When to use which property?Kotlin provides many great features. We can leverage these features and build a high-quality application quickly. Among all those features…Dec 26, 2021514Dec 26, 2021514
InBumble TechbyYuryData classes in Kotlin: how do they impact an application sizeWith the help of an experiment, I will try to understand the real cost of using a high number of data classes in an application.Mar 4, 20215565Mar 4, 20215565
InLevel Up CodingbyGiuseppe GiacoppoAndroid Nightmares😱 | Base classesIf you never met a BaseActivity, BaseFragment or BaseViewModel consider yourself lucky🌟 Otherwise check it out a better solution💪Feb 19, 20221.8K9Feb 19, 20221.8K9
Federico PeyraniSmarter dialogs with Kotlin’s CoroutinesTransforming Android’s knack for callbacks into sequential, easy-to-read code.Feb 13, 20222861Feb 13, 20222861
Trevor HackmanKotlin: Coding a Ternary OperatorCan we write our own ternary operator in Kotlin?Jul 5, 2021883Jul 5, 2021883
InMobile App Development PublicationbyElye - A One Eye Dev By His Grace5 Ways of Creating Android LiveDataDepending on need, use different ways to create LiveDataJan 20, 202281Jan 20, 202281