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

Convert Java file to Kotlin file ⌥⇧⌘K

Convert Java file to Kotlin file ⌥⇧⌘K

Kotlin一行も書かずKotlin率上げられる方法

3295d80faee461db1093982361256fe4?s=128

Panini

May 30, 2018
Tweet

Transcript

  1. Convert Java file to Kotlin file ⌥⇧⌘K Kotlin愛好会 #1

  2. About Me • Matthew Vern / Panini • Twitter: @callipan

    Github: panpanini • Android Engineer • Kotlin可愛い
  3. About Me • Matthew Vern / Panini • Twitter: @callipan

    Github: panpanini • Android Engineer • Kotlin可愛い • kotlin@kawaii.com
  4. How I started Kotlin • Android Java & iOS Objective-C

    • Swift announced • Android Swift • First Kotlin: M13? (~09/2015) • Clone sample project
  5. How I started Kotlin

  6. How I started Kotlin Problems: • I don’t understand the

    language
  7. How I started Kotlin Problems: • I don’t understand the

    language • I don’t understand the intention of the code
  8. None
  9. Convert Java file to Kotlin file • Automatic conversion •

    About 90% effective • Easier than writing by hand
  10. Demo

  11. Summary • Data classes are nice • Lateinit is useful

    • Lazy is useful Kotlin-like writing style: • Pass functions instead of Single Abstract Method Interfaces
  12. Summary • MokuMokuNotes_Android → • Quest based learning tool for

    writing a basic Android app in Kotlin