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
1
180
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
Tweet
Share
More Decks by Lucas Albuquerque
See All by Lucas Albuquerque
Functional Programming on Android: is it possible?
lalbuquerque
0
75
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
440
Otto - An Android Event Bus
lalbuquerque
0
140
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
44
Other Decks in Programming
See All in Programming
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
CSC307 Lecture 04
javiergs
PRO
0
660
AI & Enginnering
codelynx
0
110
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
20
7.1k
CSC307 Lecture 08
javiergs
PRO
0
670
Implementation Patterns
denyspoltorak
0
280
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Fluid Templating in TYPO3 14
s2b
0
130
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
92
The agentic SEO stack - context over prompts
schlessera
0
630
Prompt Engineering for Job Search
mfonobong
0
160
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Six Lessons from altMBA
skipperchong
29
4.1k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
How to make the Groovebox
asonas
2
1.9k
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