일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 프로그래머스 알고리즘
- 66챌린지
- Android 12
- 습관만들기
- 안드로이드 갤러리 접근
- Android WebView
- 안드로이드 카카오 로그인
- 안드로이드
- Android
- OkHttp Interceptor
- Android ViewPager2
- Java
- Android Interceptor
- Kotlin
- Android Jetpack
- WebView
- Kotlin FCM
- scope function
- Android DataBinding
- Android 12 대응
- 알고리즘 자바
- 카카오 알고리즘
- 영어공부
- android recyclerview
- MVP Architecture
- Android ProgressBar
- DataBinding
- Android Navigation
- 영어독립365
- 안드로이드 fcm
Archives
- Today
- Total
목록Retrofit Header Programmatically (1)
Developer Geek
안드로이드 Retrofit Header 추가 Kotlin
Retrofit Configuration Retrofit is the class through which your API interfaces are turned into callable objects. By default, Retrofit will give you sane defaults for your platform but it allows for customization. @Headers 아래와 같은 형식으로 요청에 필수적인 값들을 Header에 담을 수 있다. BookService.kt @Headers( "Key-1: Value-1", "Key-2: Value-2", ..., "Key-N: Value-N" ) @GET("/books") fun getBooks(): Call Programmatica..
안드로이드
2022. 1. 19. 13:51