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 | 29 | 30 |
Tags
- map
- ktor api call
- Python
- getChangePayload
- list map
- ExoPlayer
- FastAPI
- build with ai
- kotlin list
- ListAdapter
- AWS EC2
- ChatGPT
- android custom view
- android ktor
- exoplayer cache
- DiffUtil.ItemCallback
- kotlin collection
- ktor client
- Zsh
- ListAdapter DiffUtil
- 시행착오
- 유튜브
- 유튜브 요약
- android exoplayer
- llm
- 안드로이드
- android
- 스피너
- video caching
- doc2vec
Archives
- Today
- Total
목록TabLayout (1)
버튼 수집상

배경 TabLayout의 특정 탭에만 api에서 받아온 이미지를 노출시키면서 기존에는 tab.customView를 세팅해서 탭 뷰를 통째로 새로 그렸다. val tabDataList : List // tab data //.. with (binding) { tabs.setupWithViewPager(viewPager) for (i in 0 until tabs.tabCount) { val tab = tabs.getTabAt(i) val tabData = tabDataList[i] if (!tabData.imgPath.isNullOrEmpty()) { // 이미지 정보가 있을 때만 커스텀뷰로 노출 val imageCustomBinding = ViewGnbImageCustomBinding.inflate(layo..
TIL - 안드로이드
2023. 6. 12. 17:07