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

Writing a RecyclerView Adapter in Kotlin (KAD 16)

An interesting way to see how Kotlin simplifies your life is by creating a RecyclerView Adapter. You'll see that the code can be organized in such a way that its reading is easier and it avoids redundant code. RecyclerView Adapter in Kotlin We'll create an Adapter...

Take Realm to the next level with Kotlin

When someone asks me what I like the most about Kotlin, I find it hard to highlight a single feature. Data classes, lambdas, type inference, delegates... all of which entail a complete series of significative improvements which makes the difference with respect to...

Ninja Functions in Kotlin. Understanding the power of generics (KAD 12)

The combined use of several Kotlin features mixed with the use of generics allow to create functions that will greatly simplify your code, while maintaining its readability. There are several functions included in the Kotlin library that are really useful, and once...

Functional operations with collections in Kotlin (KAD 11)

I must admit that, for me, one of the most frustrating things when writing Java ccode is the list handling. Java 8 has some improvements in this respect with Streams, but the syntax in Kotlin, thanks to what we saw earlier on how to compact the code when we have high...

Data Classes in Kotlin: save a good bunch of lines of code (KAD 10)

We've already seen the classes in an earlier article, but data classes go a little further in helping us simplify our code. What are data classes? A data class is a class that only contains state and does not perform any operation. The advantage of using data classes...

Using Anko to run background tasks with Kotlin in Android (KAD 09)

Anko is an Android library written in Kotlin by Jetbrains, that can be used for a lot of different stuff. Its main feature is to create views by code using a DSL. Although this can be very interesting, the truth is that I got along very well with XMLs for so long. So...

Kotlin for Android Developers

Kotlin for Android Developers

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

Get it Now!