Tutorial by Topics: kotlin

Kotlin is a statically-typed object-oriented programming language developed by JetBrains primarily targeting the JVM. Kotlin is developed with the goals of being quick to compile, backwards-compatible, very type safe, and 100% interoperable with Java. Kotlin is also developed with the goal of prov...
In Kotlin, loops are compiled down to optimized loops wherever possible. For example, if you iterate over a number range, the bytecode will be compiled down to a corresponding loop based on plain int values to avoid the overhead of object creation.
Related question: Idiomatic way of logging in Kotlin
Kotlin has a built-in view injection for Android, allowing to skip manual binding or need for frameworks such as ButterKnife. Some of the advantages are a nicer syntax, better static typing and thus being less error-prone.
Using Kotlin with Android Studio is an easy task as Kotlin is developed by JetBrains. It is the same company that stands behind IntelliJ IDEA - a base IDE for Android Studio. That is why there are almost none problems with the compatibility. If you want to learn more about Kotlin Programming L...
Most people coming to Kotlin do have a programming background in Java. This topic collects examples comparing Java to Kotlin, highlighting the most important differences and those gems Kotlin offers over Java.
I just want to share my little bit knowledge and code of RecyclerView using Kotlin.
This topic covers the basics of Kotlin for beginners. Kotlin file has an extension .kt. All classes in Kotlin have a common superclass Any, that is a default super for a class with no supertypes declared(similar to Object in Java). Variables can be declared as val(immutable- assign once) o...
How to correctly use the named annotation in Kotlin v1.1

Page 1 of 1