If you are an Android developer who has used/is currently using Java, you’ve probably come across these frustrating challenges:
- Lots of code to accomplish very little
- Nightmare of
NullPointerException
s
- Standard operations like reading a file alone are cumbersome
- Dealing with legacy Java APIs
Kotlin as a programming language was written to address these challenges and more to help make your codebase easier to maintain and scale. However, when shifting from Java to Kotlin, developers often end up writing Java-style code or look for familiar Java patterns and that’s where problems emerge.
With this workshop, we will help developers get introduced to the “Kotlin way” of approaching problems. We will use different, real-world examples to help you and your team write more “functional” code using Kotlin when building large-scale Android apps. This workshop is a first stepping stone in your Kotlin journey, and to fully unleash Kotlin’s powers, it’s important to ensure that your Kotlin codebase becomes more idiomatic.
- Using
data class
and sealed classes
effectively
- Utilizing top level functions and lambdas for more concise code
- Handling nulls safely
- Applying transformations to Collections
- Cleaner I/O operations that do the work for you
- Replacing Java-style Builder patterns
- Working with productivity boosters like extensions and scoping functions
We highly recommend this workshop for Android development teams to write effective Kotlin and improve the maintainability of your codebase through a shared understanding.
- You are migrating your codebase to Kotlin
- You are building Android apps at scale using Kotlin
- You are evaluating benefits of writing Android apps using Kotlin
- You are a Kotlin enthusiast
Vinay Shenoy is an Android Engineer at Obvious. He believes that refactoring should be done continuously and not left for the “future”, and embracing change instead of fighting it. You’ll usually find him pushing for sustainable work practices and automating workflows.
Honey Sonwani is an Android Engineer at Obvious and believes that the Android ecosystem we live in is only as good as we make it. A highly community-driven individual, she’s passionately involved as one of the organisers in Firebase Community Mumbai and Mumbai Women Coders.
This will be a hands-on workshop so you will need access to a personal computer with the Android development toolchain setup as follows:
- Installed Android Studio (Current stable: 4.1.2 )
- Updated Kotlin plugin (Current release: 1.4.30 )
Workshop is open for 30 participants only.
Simple Android app built entirely in Kotlin
Leveraging Sealed Classes - Sanchita Agarwal
Function purity with examples in Kotlin
Dealing with production code in tests - Sasikanth