Kotlin

Kotlin is a functional language created by Jetbrains that can be used to boost Android development. Lambas, null safety, extension functions and a lot of breaking features make Android development simpler and easier. Start learning today!
Get the book!Don't miss new posts

Yo Dawg! I heard you like Kotlin (Talk at Devfest Baltics)

In November 2017, I had the chance (and luck!) of participating in a great event at Latvia: Devfest Baltics. It was awesome in many ways, but specially because of how the organizers treated us the speakers. I had never felt so warm (in such a cold country 😂) I even...

Listeners with several functions in Kotlin. How to make them shine?

One question I get often is how to simplify the interaction with listeners that have several functions on Kotlin. For listeners (or any interfaces) with a single function is simple: it automatically lets you replace it by a lambda. But that's not the case for...

Calling Kotlin from Java: start using Kotlin today

One of the great wonders of Kotlin is that it's fully integrated with Java. This means that although all your application code is written Java, you can create a class in Kotlin and use it from Java without any issues. Calling Kotlin from Java code can't be easier....

Why Kotlin for Android online course is different from any other

You may probably know that this days I'm publishing my first online course in English, Kotlin for Android Developers, based on all the knowledge I've gotten from writing my book and the live workshop I teach here in Spain. In the course, you will learn Kotlin from...

Kotlin Android Extensions: Say goodbye to findViewById

You're probably tired of working with findViewById in your day-to-day life to recover Android views. Or maybe you gave up and started using the famous Butterknife library. Then you'll love Kotlin Android Extensions. Kotlin Android Extensions: What's this? Kotlin...

Sealed classes in Kotlin: enums with super-powers (KAD 28)

Sealed classes in Kotlin are another new concept we didn't have in Java, and open another new world of possibilities. A sealed class allows you to represent constrained hierarchies in which an object can only be of one of the given types. That is, we have a class with...

Objects in Kotlin: Create safe singletons in one line of code (KAD 27)

Kotlin objects are another element of the language that we Android developers are not familiarized with, because there is nothing like that in Java. In fact, an object is just a data type with a single implementation. So if we want to find something similar in Java,...

Interfaces in Kotlin. Who said interfaces can’t have code? (KAD 26)

The interfaces in Kotlin will allow you to reuse more code than what you can get with Java. The reason is very simple: you can add code to your interfaces. If you've tried Java 8, it's something pretty similar. The good thing about being able to include code in an...

Kotlin for Android Developers

Kotlin for Android Developers

Start learning Kotlin today with this book by creating an Android App from ground up.