All Kotlin Tutorials

Creating an array in Kotlin

Tag: Kotlin

Learn how to create an array in Kotlin with examples

Creating a Singleton class in Kotlin

Tag: Kotlin

Learn how to create a Singleton class using Kotlin with code examples

Learning Kotlin type alias feature

Tag: Kotlin

Learn how to define an alternative name for your types using Kotlin type alias feature

Understanding Kotlin delegation pattern

Tag: Kotlin

Learn how to use the delegation pattern to write your Kotlin source code

Understanding Kotlin with scope function keyword

Tag: Kotlin

Learn how to use the with scope function keyword in Kotlin with examples

Using Kotlin also scope function keyword

Tag: Kotlin

Learn how to use the Kotlin also scope function keyword

Introduction to the reflection feature in Kotlin

Tag: Kotlin

Learn how what and how reflection works in Kotlin with this tutorial

Using Kotlin run scope function

Tag: Kotlin

Learn how Kotlin run scope function works with code examples

Adding Kotlin OnClickListener to Android views

Tag: Kotlin

Learn how to add Kotlin OnClickListener to views in your Android application

Kotlin apply scope function in action

Tag: Kotlin

Learn how the Kotlin apply scope function works with code examples

Kotlin let function keyword explained with examples

Tag: Kotlin

Learn the use of Kotlin let function and how it can make your code more concise

Declaring Kotlin variable with lateinit modifier

Tag: Kotlin

Learn the use of Kotlin lateinit modifier for declaring variables without initial values

Kotlin operator overloading explained with code examples

Tag: Kotlin

Learn how Kotlin operator works and how you can implement one in this tutorial

How to create a dictionary in Kotlin (code examples included)

Tag: Kotlin

Learn how to create a dictionary in Kotlin with practical code examples

Kotlin val and var keywords explained

Tag: Kotlin

Learn the differences between val and var keywords in Kotlin

ArrayList class in Kotlin explained with code examples

Tag: Kotlin

Learn how ArrayList class in Kotlin works with practical code examples

Using Android Intent object in Kotlin

Tag: Kotlin

Learn how to use Android Intent object to perform actions in Kotlin

Kotlin String format() method example

Tag: Kotlin

Learn how to use Kotlin String.format() method to format your string values

Using Maven for developing Kotlin projects

Tag: Kotlin

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

Tag: Kotlin

Learn the Kotlin way of returning multiple values with tuple-like alternatives