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 exoplayer
- 스피너
- Zsh
- 유튜브
- video caching
- list map
- exoplayer cache
- kotlin list
- map
- ListAdapter
- kotlin collection
- android
- ListAdapter DiffUtil
- getChangePayload
- ChatGPT
- DiffUtil.ItemCallback
- ktor api call
- android ktor
- doc2vec
- ExoPlayer
- Python
- android custom view
- AWS EC2
- llm
- build with ai
- 유튜브 요약
- 안드로이드
- FastAPI
- ktor client
Archives
- Today
- Total
목록안드로이드스피너 (1)
버튼 수집상
[안드로이드] Spinner 아이템 선택 안 하고도 onItemSelectedListener 를 타는 문제
스피너 Spinner 를 열지도 않았는데 뷰를 초기화하자마자 디폴트값으로 onItemSelectedListener를 탔다. 검색해보니, 아이템을 선택한 건지 아닌지 판별하기 위해서는 터치리스너를 빼서 플래그를 켜야하는 것 같았다. Android Spinner OnItemSelected ONLY on User Interaction I know that this question has been answered multiple times, but I have not found any of them satisfactory and certainly not elegant. The issue is that OnItemSelected gets fired not only when the u... stackoverflow..
TIL - 안드로이드
2022. 12. 8. 12:59