Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started With Kotlin for Android

Getting Started With Kotlin for Android

Kotlin Night Ekiti State University codelab presentation

Olayinka Peter Oluwafemi

September 01, 2017
Tweet

More Decks by Olayinka Peter Oluwafemi

Other Decks in Programming

Transcript

  1. [Codelab] - Getting Started With Kotlin For Android Development Olayinka

    Peter Oluwafemi Kotlin Night Ekiti State University September 1st, 2017
  2. Using Kotlin with your current Android Studio version (< 3.0)

    Here’s one way... • Manually install the Kotlin plugin Settings > plugins > install jetbrains plugin > kotlin
  3. Sample app in Kotlin • Less code written • No

    need for semicolon • Avoid findViewById() • And so much more...
  4. Sample app in Kotlin • Less code written • No

    need for semicolon • Avoid findViewById() • And so much more... • Create a new project with Kotlin support. • Add the necessary permissions to the manifest file. • Copy and paste the project files. • Convert Java code to Kotlin!