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
kotlin season 1 - Part 13 Retrofit 소개
Search
TaeHwan
November 10, 2016
Education
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
kotlin season 1 - Part 13 Retrofit 소개
2016년 유데미 Kotlin 강의를 공개합니다.
영상 :
PPT :
2회 분은 유데미에서 확인 가능합니다.
http://bit.ly/2UpaJUR
TaeHwan
November 10, 2016
More Decks by TaeHwan
See All by TaeHwan
Compose 함수 나누는 조건은?
taehwandev
0
4.7k
Android MVVM 패턴의 접근법 - 2023 드로이드 나이츠
taehwandev
1
2k
안드로이드의 변화 - IO Extended 2023 - 송도
taehwandev
0
690
What’s new in Android?(Google IO ex 23-GDG Pangyo)
taehwandev
0
970
Jetpack Compose 상태 및 사이드 효과
taehwandev
0
1.3k
GDG DevFest2022 Songdo - KMM(Kotlin Multiplatform Mobile)
taehwandev
0
680
Kotlin Night 2022 - 코틀린 어노테이션으로 할 수 있는 것(GDG Seoul)
taehwandev
2
1.7k
Android module 개발 - Now in android 참고
taehwandev
3
18k
Android Compose Component - mapping.
taehwandev
2
5k
Other Decks in Education
See All in Education
人間のために、人間と共に働く時代の終わりの始まり
frievea
0
180
Antigravityを使ってGeminiAPI(NanobananaPro)と連携して挿絵メーカーを作った
yoshimura_datam
0
220
An Experiment in "Cross-Cultural Exchange" as a Method for Content Creation
naoji_taniguchi_ksk_0827
0
170
25-26 CBT Library top items
cbtlibrary
0
240
[2026前期火5] 論理学(京都大学文学部 前期 第14回)「計算は、証明ではない——ハルシネーションを三層ハーモニーで診る」
yatabe
0
250
Tableau Public入門ハンズオン|Titanicデータで学ぶViz作成とMakeover
hayashi_ds017
0
130
[2026前期火5] 論理学(京都大学文学部 前期 第6回)「かつとまたはの規則」
yatabe
0
510
Comentario del plano urbano de Madrid hasta 1860 (1ª parte )
juanmartin2026
1
65k
Beyond the Prompt: Programming as a Pathway to Statistical Thinking
minecr
0
360
ちいかわを読め
uchi8977
1
330
焦燥を平穏に変えるエンジニアのための哲学
ichimichi
7
6.8k
私たちはなんでテストするんだっけ? Ver.東北IT物産展2026 in 会津若松
camel_404
3
190
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1.6k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
A designer walks into a library…
pauljervisheath
211
25k
Accessibility Awareness
sabderemane
1
210
Bash Introduction
62gerente
615
220k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Tell your own story through comics
letsgokoyo
1
1.1k
Side Projects
sachag
456
43k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
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