일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ExoPlayer
- 유튜브
- Zsh
- doc2vec
- kotlin list
- llm
- DiffUtil.ItemCallback
- Python
- video caching
- getChangePayload
- ChatGPT
- android exoplayer
- build with ai
- 안드로이드
- AWS EC2
- map
- ktor client
- FastAPI
- android ktor
- ListAdapter DiffUtil
- exoplayer cache
- kotlin collection
- android
- 시행착오
- list map
- 스피너
- android custom view
- ListAdapter
- 독서
- ktor api call
- Today
- Total
목록android ktor (2)
버튼 수집상
이전 글 [안드로이드] Retrofit 대신 Ktor로 Api 호출해보기 - 1 배경 KMM (Kotlin Multiplatform Mobile) 이 여기저기서 많이 언급되고 있다. 줄곧 XML을 쓰다가 마침 Compose 프로젝트를 할 기회가 생겼다. 이 기회에 Ktor도 써보면 어떨까 생각이 들어서 간단하게 써보았다 collectingbuttons.tistory.com 기존에 썼던 OkHttpClient.Builder 설정대로 Ktor HttpClient를 설정해보겠다. 요구사항 - 상용 api 호출 - response / request 로그 - Flipper 연동 -> OkHttpClient만 지원하는듯 - Flow 리턴 - connect / write / read 타임아웃 - 헤더 cookie 설..
배경 KMM (Kotlin Multiplatform Mobile) 이 여기저기서 많이 언급되고 있다. 줄곧 XML을 쓰다가 마침 Compose 프로젝트를 할 기회가 생겼다. 이 기회에 Ktor도 써보면 어떨까 생각이 들어서 간단하게 써보았다. Philipp Lackner 의 아래 영상을 참고했다. 그런데 예제에서 쓰는 HttpClient.get() 함수의 시그니처가 달랐다. 예제에선 io.ktor:ktor-client-core-jvm:1.6.3에서 아래 함수 호출. /** * Executes a [HttpClient] GET request, with the specified [scheme], [host], [port], [path] and [body]. * And allows to further conf..