From the course: Android Development Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Create classes for Android with Kotlin

Create classes for Android with Kotlin - Android Tutorial

From the course: Android Development Tips

Create classes for Android with Kotlin

- [Instructor] Some Android developers have started to program with Kotlin, a programming language that runs on top of the Java Virtual Machine but is more concise or less verbose than Java itself. I'm going to demonstrate how to get started using Kotlin in Android Studio. Kotlin is actually a product of JetBrains, the company that makes and maintains IntelliJ IDEA, the IDE that's at the core of Android Studio. To install the Kotlin plugin, go to your settings or preferences screen, choose Plugins, and type Kotlin, K-O-T-L-I-N. If it doesn't show up right away, click on Search in Repositories and then locate it under Languages. Click the Install button. It'll take a few moments for the plugin to be downloaded to your system. Once the download is complete, click Restart Android Studio and then click OK to close this dialog and then restart. Once Android Studio has restarted, you'll be ready to start using Kotlin. There are many tasks available. For example, you can convert existing…

Contents