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 |
| 31 |
Tags
- Git
- ActivityResultContracts
- datastore
- itemAnimator
- skipcollapsed
- requestPermission
- room
- shotcut
- jsontokotlinclass
- onResume
- prettyJson
- navigation component
- onReceivedSslError
- kdoc-generator
- Android
- notification setting
- notification
- notification bar
- webview
- App Startup
- BottomSheetDialog
- ExifInterface
- application
- Blinking
- Plugins
- circlecrop
- LOG
- 403 Error
- ChromeCustomTab
- 이미지 gps
Archives
- Today
- Total
Debbi Story
[Android] RecyclerView blinking issue 깜박임 문제 본문
728x90
안녕하세요, RecyclerView 사용시 notifyDataSetChanged()로 viewHolder를 갱신할때
하얗게 깜박이는 현상을 보게 되는데요.
RecyclerView blinking이라고 검색해보시면 아래처럼 여러가지 답변들이 있습니다.
https://stackoverflow.com/questions/29331075/recyclerview-blinking-after-notifydatasetchanged
RecyclerView blinking after notifyDatasetChanged()
I have a RecyclerView which loads some data from API, includes an image url and some data, and I use networkImageView to lazy load image. @Override public void onResponse(List<Item> response...
stackoverflow.com
여러가지 방법으로 시도해보았지만 제가 해결한 방법은 itemAnimator = null 입니다!
recyclerView.apply {
itemAnimator = null
}
'안드로이드 > Tip' 카테고리의 다른 글
| [Android Studio] 내가 자주 사용하는 단축키 정리. (0) | 2021.12.30 |
|---|---|
| [Android] BottomSheetDialog 완전히 펼치기 (0) | 2021.12.13 |
| [Android] Permission 거부 처리 ActivityResultContracts (0) | 2021.11.17 |
| [Android] 네트워크 연결 감지하기! (0) | 2021.11.14 |
| [Android] 스크린 사이즈 구하기! (0) | 2021.11.08 |