Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Getting started with Kotlin and Android
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Lucas Albuquerque
July 28, 2016
Programming
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting started with Kotlin and Android
A quick step-by-step on how to get started with Kotlin and Android
Lucas Albuquerque
July 28, 2016
More Decks by Lucas Albuquerque
See All by Lucas Albuquerque
Functional Programming on Android: is it possible?
lalbuquerque
0
80
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
450
Otto - An Android Event Bus
lalbuquerque
0
150
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
46
Other Decks in Programming
See All in Programming
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
270
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
660
Vite+ Unified Toolchain for the Web
naokihaba
0
230
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
210
Claspは野良GASの夢をみるか
takter00
0
180
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
160
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
530
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
450
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
190
The NotImplementedError Problem in Ruby
koic
1
680
Agentic UI
manfredsteyer
PRO
0
130
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
420
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
380
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
New Earth Scene 8
popppiees
3
2.3k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
Exploring anti-patterns in Rails
aemeredith
3
400
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Everyday Curiosity
cassininazir
0
230
Transcript
Getting started with Kotlin and Android
Lucas Albuquerque - Developer @ M4U - Android specialist Github:
https://github.com/lalbuquerque Linkedin: https://br.linkedin.com/in/lucasalbuquerque Twitter: @lucas_albq - Organizer @ Kotlin Rio Meetup - Functional Programming enthusiast
Index • Configuring the IDE / Plugin • Creating and
configuring project • Giving birth to the first KT class • Introducing KotlinX • Lambdas first looking • Extension functions • First class functions • Applying the knowledge
Configuring the IDE / Plugin
Preferences > Plugins > “kotlin” > Search in repositories >
Install
Creating and configuring project
None
None
None
getting-started/build.gradle
getting-started/app/build.gradle
Giving birth to the first KT class
getting-started/app/src/…/MainActivity.java
getting-started/app/src/…/MainActivity.java
getting-started/app/src/…/MainActivity.kt
Introducing KotlinX
getting-started/app/…/res/layout/activity_main.xml
getting-started/app/src/…/MainActivity.kt
Lambdas first looking
getting-started/app/src/…/MainActivity.kt
getting-started/app/src/…/MainActivity.kt :(
Extension functions
getting-started/app/src/…/extension/Toast.kt
getting-started/app/src/…/MainActivity.kt :D
First class functions
getting-started/app/src/…/MainActivity.kt Named parameters :D
getting-started/app/src/…/MainActivity.kt
Applying the knowledge
getting-started/app/src/…/UsersActivity.kt
getting-started/app/src/…/entity/User.kt
getting-started/app/src/…/UsersActivity.kt
getting-started/app/src/…/ui/adapter/UserListAdapter.kt
getting-started/app/src/…/res/layout/user_item.xml
getting-started/app/src/…/ui/adapter/UserListAdapter.kt
getting-started/app/src/…/ui/adapter/UserListAdapter.kt
getting-started/app/src/…/ui/adapter/UserListAdapter.kt
getting-started/app/src/…/UsersActivity.kt
Reference • https://kotlinlang.org/ • Android Development with Kotlin — Jake
Wharton • http://antonioleiva.com/kotlin-android-developers/ • https://kotlinlang.slack.com/
None
https://github.com/lalbuquerque/getting- started-w-kotlin-android
None