Category
Kotlin
Posts filed under Kotlin on Ivan Morgillo.
Android / Kotlin
Diventa un Android Dev
Dal 1 febbraio 2021, in collaborazione con CGM Consulting, partirà il mio corso di programmazione Android destinato a tutti coloro che si stanno avvicinando al mondo della...
Kotlin / Programming
Sealed Classes in Kotlin: How to handle the missing .copy() method (2026 Update)
Sealed classes in Kotlin don't have a .copy() method like data classes do. Here's how to update them anyway using Arrow Optics Prisms for clean immutability.
Kotlin / Programming
How to fix the pain of modifying Kotlin nested data classes
Using Arrow Lenses to simplify deeply nested data class updates in Kotlin, replacing verbose chained .copy() calls.
Android / IDE
IntelliJ IDEA / Android Studio Tricks: Surround With
IntelliJ IDEA's Surround With wraps selected code in try/catch, if/else, or Kotlin-specific snippets — Mac (⌥⌘T) and Windows (Ctrl+Alt+T) shortcuts.
IDE / Kotlin
IntelliJ IDEA / Android Studio Tricks: Live Templates
How to use Live Templates in IntelliJ IDEA / Android Studio — the keyboard expansions that turn `foreach` into a full loop and `logd` into Android's Log.d.
IDE / Kotlin
My IntelliJ Plugin Collection – Kotlin Fill class
Kotlin Fill Class is an IntelliJ / Android Studio plugin that auto-fills data class constructor arguments — stop typing the same parameters by hand.
Kotlin / Programming
Can I loop over a Kotlin Sealed Class?
As an Android developer, I constantly write API clients: 90% of all mobile apps fetch some JSON, parse it and show it in a list ¯\_(ツ)_/¯ To keep a clear separation between...
Kotlin
Modules, modules everywhere
I have joined asanarebel.com as Senior Android developer at the beginning of February. Asana Rebel is a health and fitness app with workouts for different body and health...
Kotlin
Kotlin DSL Gradle files, multiple modules and shared variables
This doesn’t want to be a real article, but more a crash course about Kotlin DSL for Gradle. The crucial point is the possibility of migrating an existing project to the new...
Kotlin / Programming
Sealed Classes in Kotlin: How to handle the missing .copy() method (2026 Update)
Sealed classes in Kotlin don't have a .copy() method like data classes do. Here's how to update them anyway using Arrow Optics Prisms for clean immutability.
Kotlin / Programming
How to fix the pain of modifying Kotlin nested data classes
Using Arrow Lenses to simplify deeply nested data class updates in Kotlin, replacing verbose chained .copy() calls.
Android / IDE
IntelliJ IDEA / Android Studio Tricks: Surround With
IntelliJ IDEA's Surround With wraps selected code in try/catch, if/else, or Kotlin-specific snippets — Mac (⌥⌘T) and Windows (Ctrl+Alt+T) shortcuts.
IDE / Kotlin
IntelliJ IDEA / Android Studio Tricks: Live Templates
How to use Live Templates in IntelliJ IDEA / Android Studio — the keyboard expansions that turn `foreach` into a full loop and `logd` into Android's Log.d.
IDE / Kotlin
My IntelliJ Plugin Collection – Kotlin Fill class
Kotlin Fill Class is an IntelliJ / Android Studio plugin that auto-fills data class constructor arguments — stop typing the same parameters by hand.
Kotlin / Programming
Can I loop over a Kotlin Sealed Class?
As an Android developer, I constantly write API clients: 90% of all mobile apps fetch some JSON, parse it and show it in a list ¯\_(ツ)_/¯ To keep a clear separation between...
Kotlin
Modules, modules everywhere
I have joined asanarebel.com as Senior Android developer at the beginning of February. Asana Rebel is a health and fitness app with workouts for different body and health...
Kotlin
Kotlin DSL Gradle files, multiple modules and shared variables
This doesn’t want to be a real article, but more a crash course about Kotlin DSL for Gradle. The crucial point is the possibility of migrating an existing project to the new...