Peruvian Software Engineer. Android Developer. Kotlin enthusiast.
Kotlin type system is smart enough to smart cast our code. In this post we will try to understand how that's possible.
Learn useful annotations that will help you write Kotlin code that plays nicely with Java. Maximise interoperability!
TL;DR: be careful when using SAM conversions with Kotlin