Kotlin tutorials

55 tutorials. Language basics for Android and JVM developers.

Latest Kotlin tutorials

Page 1 of 3
Creating an array in Kotlin Learn how to create an array in Kotlin with examples Creating a Singleton class in Kotlin Learn how to create a Singleton class using Kotlin with code examples Learning Kotlin type alias feature Learn how to define an alternative name for your types using Kotlin type alias feature Understanding Kotlin delegation pattern Learn how to use the delegation pattern to write your Kotlin source code Understanding Kotlin with scope function keyword Learn how to use the with scope function keyword in Kotlin with examples Using Kotlin also scope function keyword Learn how to use the Kotlin also scope function keyword Introduction to the reflection feature in Kotlin Learn how what and how reflection works in Kotlin with this tutorial Using Kotlin run scope function Learn how Kotlin run scope function works with code examples Adding Kotlin OnClickListener to Android views Learn how to add Kotlin OnClickListener to views in your Android application Kotlin apply scope function in action Learn how the Kotlin apply scope function works with code examples Kotlin let function keyword explained with examples Learn the use of Kotlin let function and how it can make your code more concise Declaring Kotlin variable with lateinit modifier Learn the use of Kotlin lateinit modifier for declaring variables without initial values Kotlin operator overloading explained with code examples Learn how Kotlin operator works and how you can implement one in this tutorial How to create a dictionary in Kotlin (code examples included) Learn how to create a dictionary in Kotlin with practical code examples Kotlin val and var keywords explained Learn the differences between val and var keywords in Kotlin ArrayList class in Kotlin explained with code examples Learn how ArrayList class in Kotlin works with practical code examples Using Android Intent object in Kotlin Learn how to use Android Intent object to perform actions in Kotlin Kotlin String format() method example Learn how to use Kotlin String.format() method to format your string values Using Maven for developing Kotlin projects A guide on using Maven to manage and build a Kotlin project How to use tuple alternatives to return multiple values from a Kotlin function Learn the Kotlin way of returning multiple values with tuple-like alternatives