Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
200
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
Transcript
41 slides
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
More Decks by Lucas Albuquerque
See All by Lucas Albuquerque
Functional Programming on Android: is it possible?
lalbuquerque
0
96
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
460
Otto - An Android Event Bus
lalbuquerque
0
160
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
54
Other Decks in Programming
See All in Programming
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
2
280
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
AI Augmentation Techniques with Liberty
ivargrimstad
1
560
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
220
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
470
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
700
Agentic AI with the Power of Jakarta EE
ivargrimstad
0
190
正解の無い問題を 「できるだけ上手く」解く ヒューリスティックで感性を磨こう。〜現実課題をプログラミングで解きあうコミュニティについて〜
allegrogiken
0
110
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
110
LLM 101
dalinaum
0
540
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
あなたはMCPの機能を、まだ知らない。
4geru
1
740
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
41k
The agentic SEO stack - context over prompts
schlessera
0
1k
Building the Perfect Custom Keyboard
takai
2
970
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
370
Are puppies a ranking factor?
jonoalderson
2
4.2k
The Pragmatic Product Professional
lauravandoore
37
7.5k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
A Modern Web Designer's Workflow
chriscoyier
699
190k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540