Kotlin - Taking advantage out of Kotlin
At I/O 2017, Google announced official support for Kotlin for developing Android apps. Kotlin is a language developed by Jetbrains, with a quickly growing developer base because of its concise, elegant syntax, and 100% interoperability with Java.
I, who am developing android apps for a time was using java for Android Studio IDE language. After android studio 3.0 release, Jetbrains brought Kotlin support.
- Let's get stared with Kotlin.
What You're gonna need,
- Android Studio 3.0
- An Android device or emulator to run the app on
- The sample code (If you want, I got one below)
- Basic knowledge of developing Android apps in the Java language
- Android Studio 3.0
- An Android device or emulator to run the app on
- The sample code (If you want, I got one below)
- Basic knowledge of developing Android apps in the Java language
What You're take out of this,
- How to use the Android Studio's Java to Kotlin converter.
- How to write code using Kotlin syntax.
- How to use Kotlin lambda expressions and extension functions to reduce boilerplate code and avoid common errors.
- How to use built-in standard library functions to extend existing Java class functions.
- How Kotlin can help avoid the Billion Dollar Mistake, the
NullPointerException
.
Comments
Post a Comment