Kotlin Introduction

Kotlin is a:

Interesting features of Kotlin:

Hello World example you should try.

This will help you understand the basics of the Kotlin programming language.

 fun Main(args : Array<String>) {      

printlin(“Hello World”)   //Similar to System.out.println(“Hello World”) in Java. 

} 

Output

Hello World!

Breakdown:

fun Main(args : Array<>){}

  • fun, is the keyword in Kotlin for function.
  • This is the main function, just as in java it serves as the entry point to the application.
  • Mandatory function of the Kotlin program.
  • Code should be written in curly brackets.
  • Text that should be printed on the screen should be in double quotes "".

Activities with Kotlin

How to manage user activity with Kotlin

Fragments

Managing fragments for Android with Kotlin

Setting up navigation in Android using Kotlin

Live Data

Working with live data

Live Data and Observables

Live data vs observables

Live Data Transformations

Android live data and transformation | map ans switch map

Coroutines

Kotlin coroutines on Android

RecyclerView

Android RecyclerView Tutorial with Kotlin

ConstrainLayout

ConstraintLayout Tutorial for Android: Complex Layouts

Styles and Themes

Android Styling: Themes vs Styles

Material Design

Material Design for Android

AccessibilityManager

Android AccessibilityManager


RAW CONTENT URL