Memory

[ANDROID/KOTLIN] Resolve RecyclerView blinking after notifyItemChanged() 본문

IT/ANDROID

[ANDROID/KOTLIN] Resolve RecyclerView blinking after notifyItemChanged()

_JinHa_ 2020. 2. 27. 16:49
반응형

 


val mRecyclerView = findViewById(R.id.recyclerV_work_basic)

val animator: ItemAnimator? = mRecyclerView.itemAnimator
if (animator is SimpleItemAnimator) {
    animator.supportsChangeAnimations = false
}

 

[참고]

 

[Android/안드로이드] RecyclerView 화면깜빡임 현상방지

출처: https://lakue.tistory.com/17

반응형