Best Kotlin Libraries for Android Development

Kotlin has been gaining momentum in becoming a main language to develop Android app. Kotlin already works well with third party libraries which are developed in Java. This post will focus on the best libraries written for Kotlin.

Anko

The library will help you writing Kotlin codes for Android faster and cleaner. Anko consists of 4 components:

  • Anko Commons contains helpers for intents, dialogs, logging and more.
  • Anko Layouts is a fast and type-safe way to write dynamic Android layouts.
  • Anko SQLite is a query DSL and parser collection for Android SQLite.
  • Anko Coroutines helps write coroutines based on the kotlinx.coroutines library.

Kotlin Poet

This is similar to Java Poet but dedicates to Kotlin. The library can generate .kt source files using code.

KAndroid

KAndroid providing useful extensions to reduce boilerplate code in Android SDK such as using Toast, Intents, system services and views.

LastAdapter

LastAdapter is the first RecyclerView adapter library written in Kotlin. Using this library will help you skip writing adapter and even ViewHolder.

Kotpref

It is a wrapper for Android SharedPreference.

Kovenant

Kovenant is an easy asynchronous library for Kotlin. It has extensions for Android, RxJava, JavaFX and many more.