Slide 1

Slide 1 text

Exploring Android Kotlin Wajahat Karim Google IO Extended - Hyderabad

Slide 2

Slide 2 text

I am Wajahat Karim And I work at Contour Software. Hello! 2 Coding 8+ Years Experienced Android Developer Writing Authored 2 Worldwide Published Books Passion Open Source Contributor (many Android libraries) Community AndroidPub, FlutterPub, Articles, and Talks

Slide 3

Slide 3 text

Open Source = 3

Slide 4

Slide 4 text

Kotlin Basics 101

Slide 5

Slide 5 text

Why Kotlin? 5 Statically Typed This means that the type of every variable and expression is known at compile time. Concise Drastically reduces the boilerplate code that you have been writing in other OOP languages like Java. Explicit Means being specific about your design choices and not hiding anything from the consumers of code. Easy to Learn Kotlin has a very low learning curve. The basic syntax looks a lot like Java. Null-Safe Avoids the most dreaded NullPointerExceptions by supporting nullability as part of its type system. Interoperable with Java You can easily access Java code from Kotlin and vice versa.

Slide 6

Slide 6 text

Variables in Kotlin 6

Slide 7

Slide 7 text

Arrays & Ranges 7

Slide 8

Slide 8 text

if-else when 8

Slide 9

Slide 9 text

Loops 9

Slide 10

Slide 10 text

Null Safety 10

Slide 11

Slide 11 text

Functions 11

Slide 12

Slide 12 text

Extension Functions 12 More extensions at: https://developer.android.com/kotlin/ktx

Slide 13

Slide 13 text

Kotlin in Android

Slide 14

Slide 14 text

Kotlin in Android 14 Official Support Google announced Kotlin as an official programming language for developing Android application in Google IO 2016.. Android KTX Google is heavily investing in creating open source extensions and APIs in Kotlin to make things easier and convenient for Android developers. Kotlin First Starting this year after Google IO 2019, Android APIs will be Kotlin first and will be architectured from Kotlin perspective.

Slide 15

Slide 15 text

Android DevChat Pakistan 15 Join 100+ community of Pakistani android devs at: http://bit.do/pak-android-slack

Slide 16

Slide 16 text

You Thank you for attending this event. Techno Summit The event is organized by them. https://www.technosummit.org Special Thanks 16 Google After all, its Google powered Google IO Extended event. Undraw All the beautiful illustrations in this presentation are from Undraw. http://undraw.co

Slide 17

Slide 17 text

Any Questions? You can find me at: ● https://wajahatkarim.com ● github.com/wajahatkarim3 ● medium.com/@wajahatkarim3 17