Slide 1

Slide 1 text

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

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

About Me ● Matthew Vern / Panini ● Twitter: @callipan Github: panpanini ● Android Engineer ● Kotlin可愛い ● [email protected]

Slide 4

Slide 4 text

How I started Kotlin ● Android Java & iOS Objective-C ● Swift announced ● Android Swift ● First Kotlin: M13? (~09/2015) ● Clone sample project

Slide 5

Slide 5 text

How I started Kotlin

Slide 6

Slide 6 text

How I started Kotlin Problems: ● I don’t understand the language

Slide 7

Slide 7 text

How I started Kotlin Problems: ● I don’t understand the language ● I don’t understand the intention of the code

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Convert Java file to Kotlin file ● Automatic conversion ● About 90% effective ● Easier than writing by hand

Slide 10

Slide 10 text

Demo

Slide 11

Slide 11 text

Summary ● Data classes are nice ● Lateinit is useful ● Lazy is useful Kotlin-like writing style: ● Pass functions instead of Single Abstract Method Interfaces

Slide 12

Slide 12 text

Summary ● MokuMokuNotes_Android → ● Quest based learning tool for writing a basic Android app in Kotlin