Kotlin

android

Analyzing the Internals of Kotlin's Android Synthetic Import (Part 2)

In this second part of the Synthetic Import mini-series, we keep digging into the internals of this plugin.

Read
android

Analyzing the Internals of Kotlin's Android Synthetic Import (Part 1)

By enabling Kotlin Android Extensions, we can use synthetic imports, which allows us quickly use components declared on our XML files. We'll take a look at the source code of the extension to understand how it works.

Read
kotlin

How do Kotlin DSL libraries work?

Many new and shiny Kotlin libraries implement their own DSLs. Learn how they work and how can you implement your own.

Read
kotlin

Kotlin Smart Casting By Immutability

Kotlin type system is smart enough to smart cast our code. In this post we will try to understand how that's possible.

Read
kotlin

Annotations for your Java-friendly Kotlin code

Learn useful annotations that will help you write Kotlin code that plays nicely with Java. Maximise interoperability!

Read