Top 10 Exception Handling Best Practices in Kotlin
Handling exceptions gracefully in Android applications and in general any software is not just a best practice; it’s essential to providing a reliable and positive user experience, because:
(more…)Senior Android Developer & Team/Tech Lead
Handling exceptions gracefully in Android applications and in general any software is not just a best practice; it’s essential to providing a reliable and positive user experience, because:
(more…)The “fun code()” magazine is a one-time publication about Kotlin, created by Kotlin developers for Kotlin developers, and I had the pleasure of being one of the contributors. It was released during KotlinConf 2024 and received significant attention.
(more…)Starting in Android 8.0 (API level 26), Android allows activities to launch in picture-in-picture (PiP) mode. PiP is a special type of multi-window mode mostly used for video playback.
(more…)When defining interfaces with a single abstract method you can use a lambda expression to avoid introducing a new class or anonymous objects.
(more…)Writing documents for your API users is a must-have.
(more…)When defining APIs or your app’s different layers you may reach a point that needs the input to be type-safe.
(more…)Since the beginning of Android using Gradle as the build system, we should have used unfamiliar Groovy language.
(more…)Kotlin is a modern language that brought many features to Android developers’ table, one of them is scope functions.
(more…)detekt is a static code analysis linter tool for Kotlin Android projects.
(more…)ktlint is an anti-bikeshedding Kotlin linter with a built-in formatter.
(more…)