Category: kotlin
-
Language Injections in Android Studio / IntelliJ IDEA 💉
Android Studio is a powerful IDE with a multitude of features that I’ll probably never discover. However, when I do discover a feature of the IDE that I’ve been dreaming about, I get irrationally excited about it (and often times write a blog post such as this one). One feature that really piqued my interest…
-
Lessons Learnt with Kotlin: Using inline classes 👩🔬
What is an inline class? 🧐 An inline class is a special type of class defined in Kotlin that only has one property. At runtime, the compiler will “inline” the property where it was used. This is similar to inline functions, where the compiler inserts the contents of the function into where it was called. Example…
-
Lessons Learnt with Kotlin: Extension Functions
At Over, we’ve been using Kotlin since we started the new Android version of the app in November 2018. From day one, we’ve been excited to try the language features and leverage them to build our mobile design app. One of the features we were most excited about was extension functions. What is an Extension…
-
Over ❤️ Kotlin – How we’ve used Kotlin to build our design app
I recently presented this talk at Kotlin Everywhere South Africa as the keynote for the event. I really enjoyed preparing this talk as it spoke about how we use Kotlin, mistakes we’ve made along the way and our opinion on how we decide to use certain features. Talk Description: Over the past year and a…
-
Android Canvas APIs with Kotlin and KTX
Learn how to use the Android KTX extension functions to clean up Canvas drawing code Have you ever wanted to write a Custom View on Android but you were too afraid to deal with X, Y translations on a Canvas object? Well, working with them got a whole lot easier when using Kotlin and the Android…
-
Building Responsive / Resizable Android UIs for ChromeOS 📐📏
Learn how using ViewModels can help create great user experiences on ChromeOS This post originally appeared here. Supporting ChromeOS devices sounds like a large undertaking with many unknowns. If you didn’t know already, ChromeOS allows users to install Android Apps on their devices. This is great news for ChromeOS users since it unlocks a huge amount of apps…
-
[HOW TO] Set up Kotlin Source Code & Tests in your Android Apps
After reading a lot of different posts raving about Kotlin, I couldn’t help myself. I had some serious FOMO. In this blog post, I will be looking at getting Kotlin set up in existing Android Apps. What is Kotlin? Kotlin is a statically typed programming language that can be used to write Android Apps. It…