$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
kotlin season 1 - Part 13 Retrofit 소개
Search
TaeHwan
November 10, 2016
Education
0
45
kotlin season 1 - Part 13 Retrofit 소개
2016년 유데미 Kotlin 강의를 공개합니다.
영상 :
PPT :
2회 분은 유데미에서 확인 가능합니다.
http://bit.ly/2UpaJUR
TaeHwan
November 10, 2016
Tweet
Share
More Decks by TaeHwan
See All by TaeHwan
Compose 함수 나누는 조건은?
taehwandev
0
1.9k
Android MVVM 패턴의 접근법 - 2023 드로이드 나이츠
taehwandev
1
1.9k
안드로이드의 변화 - IO Extended 2023 - 송도
taehwandev
0
630
What’s new in Android?(Google IO ex 23-GDG Pangyo)
taehwandev
0
900
Jetpack Compose 상태 및 사이드 효과
taehwandev
0
1.2k
GDG DevFest2022 Songdo - KMM(Kotlin Multiplatform Mobile)
taehwandev
0
620
Kotlin Night 2022 - 코틀린 어노테이션으로 할 수 있는 것(GDG Seoul)
taehwandev
2
1.6k
Android module 개발 - Now in android 참고
taehwandev
3
18k
Android Compose Component - mapping.
taehwandev
2
4.9k
Other Decks in Education
See All in Education
20250830_MIEE祭_会社員視点での学びのヒント
ponponmikankan
1
190
ロータリー国際大会について~国際大会に参加しよう~:古賀 真由美 会員(2720 Japan O.K. ロータリーEクラブ・(有)誠邦産業 取締役)
2720japanoke
1
720
KBS新事業創造体験2025_科目説明会
yasuchikawakayama
0
140
DIP_4_Compression
hachama
0
120
DIP_2_Spatial
hachama
0
330
Web Application Frameworks - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
AIを使って最新研究 について調べて発表しよ う!
mickey_kubo
4
160
CSS3 and Responsive Web Design - Lecture 5 - Web Technologies (1019888BNR)
signer
PRO
1
3k
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
17k
HCI and Interaction Design - Lecture 2 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.4k
子どもが自立した学習者となるデジタルの活用について
naokikato
PRO
0
150
データで見る赤ちゃんの成長
syuchimu
0
360
Featured
See All Featured
How to Ace a Technical Interview
jacobian
280
24k
Balancing Empowerment & Direction
lara
5
780
Music & Morning Musume
bryan
46
7k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.1k
A better future with KSS
kneath
240
18k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
Making Projects Easy
brettharned
120
6.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Producing Creativity
orderedlist
PRO
348
40k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Transcript
Part 13 Kotlin Retrofit ࣗѐ Taehwan ରࣁ উ٘۽٘ ѐߊ য
ౣܽ, दೞӝ thdev.tech, 2016 1
ࢠ ٘ח!!! 4 Sample Code GitHub ࠳۠ : 08-Retrofit-Intro 4
https://github.com/taehwandev/Kotlin-Udemy- Sample/tree/08-Retrofit-intro ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 2
য়ט ೡ ࠗ࠙ 4 Retrofit ࣗѐ 4 Retrofit Introduction 4
Flickr API ࣗѐ 4 Retrofit ࢠ ਊ ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 3
Retrofit ࣗѐ ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016
4
Retrofit ࣗѐ 4 Squareীࢲ ߓನೞח HTTP REST API 4 A
type-safe HTTP client for Android and Java ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 5
Retrofit ࣗѐ 4 Retrofit API കಕ 4 Retrofit github ରࣁ
উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 6
Retrofit ࣗѐ 4 HTTPܳ ాೠ ాन 4 Json/XML ؘఠ यਸ
ઁҕ 4 HTTP য়ܨী ೠ ܻ 4 ਃ ߂ ੌ স۽٘ ӝמ ઁҕ ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 7
Retrofit Introduction 4 build.gradleী ਸ ୶оפ. compile 'com.squareup.retrofit2:retrofit:2.1.0' ରࣁ উ٘۽٘
ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 8
Retrofit Introduction 4 Retrofitਸ ࢎਊೞӝ ਤೠ interface public interface
GitHubService { @GET("users/{user}/repos") Call<List<Repo>> listRepos(@Path("user") String user); } ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 9
Retrofit Introduction 4 Retrofitਸ ୡӝച Retrofit retrofit = new Retrofit.Builder()
.baseUrl("https://api.github.com/") .build(); GitHubService service = retrofit.create(GitHubService.class); ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 10
Retrofit Introduction 4 ࢎਊೡ ࠗ࠙ীࢲ җ э ഐೠ. Call<List<Repo>> repos
= service.listRepos("octocat"); ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 11
Flickr ࢎ API ࢎਊೞӝ 4 Flickr API ః ࢤࢿ 4
flickr.interestingness.getList ࢎਊ ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 12
ࢠ ٘ীࢲ Retrofit ࢎਊೞӝ ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ
thdev.tech, 2016 13
Retrofitীࢲ ۽Ӓ ೣԋ ࠁӝ 4 OkHttp 4 Logging Interceptor ରࣁ
উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 14
Retrofitীࢲ ۽Ӓ ೣԋ ࠁӝ // OkHttp compile 'com.squareup.okhttp3:okhttp:3.4.2' compile 'com.squareup.okhttp3:logging-interceptor:3.4.2'
ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 15
ଵҊܐ 4 Retrofit API കಕ 4 Retrofit github 4 Flickr
API ః ࢤࢿ 4 flickr.interestingness.getList ࢎਊ ରࣁ উ٘۽٘ ѐߊ য ౣܽ, दೞӝ thdev.tech, 2016 16
4 Retrofit ؘఠܳ RecyclerViewਵ۽ োѾೞӝ ରࣁ উ٘۽٘ ѐߊ য
ౣܽ, दೞӝ thdev.tech, 2016 17