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
kotlin season 1 - Part 13 Retrofit 소개
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
TaeHwan
November 10, 2016
Education
52
0
Share
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.4k
Android MVVM 패턴의 접근법 - 2023 드로이드 나이츠
taehwandev
1
1.9k
안드로이드의 변화 - IO Extended 2023 - 송도
taehwandev
0
660
What’s new in Android?(Google IO ex 23-GDG Pangyo)
taehwandev
0
930
Jetpack Compose 상태 및 사이드 효과
taehwandev
0
1.2k
GDG DevFest2022 Songdo - KMM(Kotlin Multiplatform Mobile)
taehwandev
0
640
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
演習:GitHubの基本操作 / 06-github-basic
kaityo256
PRO
1
300
計算物理におけるGitの使い方 / 01-c-compphys
kaityo256
PRO
2
600
コミュニティを通じた_キャリア設計のススメ_20260424.pdf
masakiokuda
0
240
P3NFEST 2026 Spring ハンズオン「ハッキング・ラブ!はじめてのハッキングをやってみよう」資料
nomizone
0
430
BITCOIN : Les fondamentaux !
rlifchitz
0
110
生成AIを授業の相棒にするデータサイエンス入門(「デジタル✕探究」イノベーターズフォーラム テクニカルセッション講演資料)
datascientistsociety
PRO
0
180
コマンドラインの使い方 / 01-d-cli
kaityo256
PRO
1
150
SL AMIGOS 教育格差と私たちの取り組み - スリランカの支援学校への支援プロジェクト:リシンドゥ リオ 氏 (別府溝部学園短期大学 ビジネス観光コース 留学生):2720 Japan O.K. ロータリーEクラブ2026年4月6日卓話
2720japanoke
0
550
Pen-based Interaction - Lecture 4 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.2k
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4019538FNR)
signer
PRO
0
3.1k
GitHubによるWebアプリケーションのデプロイ / 07-github-deploy
kaityo256
PRO
2
260
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
940
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
340
Abbi's Birthday
coloredviolet
2
7.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.4k
Side Projects
sachag
455
43k
From π to Pie charts
rasagy
0
180
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.9k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
KATA
mclloyd
PRO
35
15k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
エンジニアに許された特別な時間の終わり
watany
106
240k
Embracing the Ebb and Flow
colly
88
5k
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