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

배경 이전에 sticky view 를 구현할 땐 LinearLayout.firstVisibleItemPosition 을 가지고 sticky를 띄울지 말지 판단했었다. // 예시 recyclerView.addOnScrollListener(object: RecyclerView.OnScrollListener() { override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int) { super.onScrolled(recyclerView, dx, dy) val lm = recyclerView.layoutManager as LinearLayoutManager val firstVisiblePosition = lm.findFirstVisibleItemPosi..
TIL - 안드로이드
2023. 5. 2. 17:58