Top Banner
otlin Android Development with Andrey Breslav
10

Kotlin for Android: Brief and Clear

May 12, 2015

Download

Technology

Andrey Breslav

Delivered at Mobius 2014, Saint Petersburg, Russia, March 14, 2014
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Kotlin for Android: Brief and Clear

otlin

Android Development

with

Andrey Breslav

Page 2: Kotlin for Android: Brief and Clear
Page 3: Kotlin for Android: Brief and Clear

otlin

bytecode

Page 4: Kotlin for Android: Brief and Clear

Why a new language?

Page 5: Kotlin for Android: Brief and Clear

Cup<Coffee> cup = new Cup<Coffee>(new Coffee())

Cup<Coffee> cup = new Cup<>(new Coffee())

Cup<Coffee> cup = new Cup(new Coffee())

Why not…

Java 7

Page 6: Kotlin for Android: Brief and Clear

New tricks, huh?..

Page 7: Kotlin for Android: Brief and Clear

When will Android get Java 8?

Page 8: Kotlin for Android: Brief and Clear

Design Principles

Industry

Tooling

Safety

Page 9: Kotlin for Android: Brief and Clear

Facts about Kotlin

• Current version: 0.7

• Tooling– IntelliJ IDEA/Android Studio– Gradle/Maven/Ant

• Runtime size: 800K, and shrinking

Page 10: Kotlin for Android: Brief and Clear

DEMO