일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ListAdapter
- exoplayer cache
- doc2vec
- android custom view
- 시행착오
- 유튜브 요약
- Zsh
- FastAPI
- map
- build with ai
- ktor client
- AWS EC2
- ktor api call
- ExoPlayer
- ChatGPT
- DiffUtil.ItemCallback
- llm
- Python
- kotlin list
- 유튜브
- kotlin collection
- ListAdapter DiffUtil
- list map
- 안드로이드
- android
- android ktor
- 스피너
- getChangePayload
- video caching
- android exoplayer
- 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..