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
Lucas Albuquerque
July 28, 2016
Programming
1
160
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
55
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
440
Otto - An Android Event Bus
lalbuquerque
0
130
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
40
Other Decks in Programming
See All in Programming
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
250
推し活としてのrails new/oshikatsu_ha_iizo
sakahukamaki
3
2k
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
120
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.5k
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1.1k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.1k
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
2.4k
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
190
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.3k
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
170
受け取る人から提供する人になるということ
little_rubyist
0
180
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
280
34k
Faster Mobile Websites
deanohume
305
30k
Why Our Code Smells
bkeepers
PRO
334
57k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Measuring & Analyzing Core Web Vitals
bluesmoon
2
75
Bash Introduction
62gerente
608
210k
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