Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Android
- recyclerview
- 백준
- 알고리즘
- DataBinding
- kotlin
- CollapsingToolbarLayout
- View
- CoordinatorLayout
- sqlite
- HTTP
- Coroutine
- Navigation
- AppBarLayout
- 알림
- Behavior
- lifecycle
- notification
- ViewModel
- BOJ
- onLayout
- LiveData
- 코틀린
- room
- 안드로이드
- Algorithm
- onMeasure
- CustomView
- activity
- hilt
Archives
- Today
- Total
목록Retrofit2 (1)
개발일지
Android in A..Z - HTTP (Retrofit2)
Retrofit2 Android HTTP 통신에는 URLConnection, Volley Retrofi2 등이 존재합니다. Retrofit2는 동기/비동기 등 다양한 기능을 지원하고 Annotation을 통해 코드가 간결하다는 장점이 있습니다. Dependency gson : Response를 Google의 Gson을 통해 DTO로 매핑시켜줄 때 사용한다. scalars : String형식으로 Response를 받을 때 사용한다. dependencies { // Retrofit implementation 'com.squareup.retrofit2:converter-gson:2.6.2' implementation 'com.squareup.retrofit2:converter-scalars:2.6.2' imp..
Android (안드로이드)/HTTP
2021. 3. 16. 01:37