Complete Kotlin language reference, coroutines guide, and multiplatform documentation. Learn and reference Kotlin anywhere—subway, plane, or coffee shop.
Kotlin has become the default language for Android development and is expanding to multiplatform use cases. Its features—null safety, coroutines, data classes—reward developers who understand them deeply.
The official Kotlin documentation from JetBrains is comprehensive. It covers not just syntax but idioms. How to use extension functions effectively. When sealed classes make sense. How coroutines compare to threads.
Kotlin has nuance worth studying. Having the documentation offline lets you learn these patterns during commutes or in environments without reliable internet.
Coroutines are Kotlin's approach to asynchronous programming. Unlike callbacks or RxJava, coroutines let you write asynchronous code that reads like synchronous code.
The documentation covers coroutine basics—launch, async, suspend functions—and progresses to advanced topics like structured concurrency, exception handling, and cancellation.
Flows are documented comprehensively. Cold flows, hot flows, operators, and integration with Android lifecycle. Understanding flows is essential for modern Kotlin Android development.
Kotlin's null safety is its most celebrated feature. The documentation explains nullable types, safe calls, elvis operator, and the contracts that make it work.
val name: String? = nullThe ? suffix makes types nullable. Non-nullable types cannot hold null.
val length = name?.lengthThe ?. operator returns null if the receiver is null. No NPE.
val len = name?.length ?: 0The ?: operator provides a default value when the left side is null.
Building Android apps with Kotlin. Quick reference to language features while coding. Study coroutines and flows during commutes.
Kotlin Multiplatform for shared code between Android, iOS, web, and desktop. Documentation for expect/actual patterns and platform targets.
Ktor, Spring Boot with Kotlin. The language is the same. Coroutines and flows for server-side asynchronous operations.
Download DocNative and add Kotlin documentation to your offline library. Language reference, coroutines, and KMP docs in your pocket.