Kotlin Basics for Android Developers

This is a curated index of Kotlin language fundamentals covered on this site — arrays, strings, and basic control flow. Each entry below links to a focused tutorial with working code examples. If you’re new to Kotlin, start with the Control Flow section; if you already know the syntax and just need a specific array or string operation, jump straight to it.

Getting Started

Arrays

Kotlin arrays are fixed-size, and the standard library gives you a dedicated type for each primitive (IntArray, ByteArray, etc.) alongside the generic Array<T>.

Strings

Kotlin strings are immutable and come with template support ("$name") built into the language.

What’s Next

These fundamentals cover plain Kotlin. If you’re building Android UI, the modern approach is Jetpack Compose rather than XML layouts — we’re publishing a dedicated Compose state management guide soon. For now, see our Flutter Widgets Guide if you’re working cross-platform.