Retrofit2 사용해보기
Retrofit을 사용해본지 상당한 시간이 지났고 기억이 잘 나지 않아 복습하고 학습하자는 의미로 연습해보기로 하였다. API는 비트코인 저장소 중 하나인 Bithumb Open API를 사용해보기로 하였다. Base URL : https://api.bithumb.com/public/ticker/{currency} 1) 먼저 Retrofit과 GSON을 사용하기 위해 Gradle설정을 한다. dependencies { ... compile 'com.google.code.gson:gson:2.8.2' // Gson 사용시 compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' //..
Frontend/Android
2019. 5. 31. 11:18
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Auto Layout
- databinding
- 함수형프로그래밍
- XCode
- Swift
- retrofit
- Kotlin
- 안드로이드
- 함수형
- ios
- Reactive programming
- 상속
- Rxjava
- Apple Watch
- 아이폰
- 애플워치
- java
- C++
- SwiftUI
- Notissu
- 알고리즘
- apple
- android
- Elliotable
- 스위프트
- watchos
- CloudComputing
- 오토레이아웃
- 컬렉션
- 코틀린
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함