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
- Coroutine
- CustomView
- BOJ
- hilt
- View
- Algorithm
- CoordinatorLayout
- ViewModel
- 코틀린
- 알고리즘
- onLayout
- HTTP
- onMeasure
- Behavior
- activity
- DataBinding
- Navigation
- kotlin
- 안드로이드
- 백준
- lifecycle
- Android
- recyclerview
- CollapsingToolbarLayout
- notification
- room
- AppBarLayout
- LiveData
- sqlite
- 알림
Archives
- Today
- Total
목록Retrofit2 (1)
개발일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/vCT1I/btq0dnajJnq/zMcwDC9E22pwPZfeKjKSa0/img.png)
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