android recyclerview notifyItemChanged 一闪一闪

解决:

((SimpleItemAnimator) Objects.requireNonNull(recyclerview.getItemAnimator())).setSupportsChangeAnimations(false);

 

posted @ 2022-01-08 20:29  jiduoduo  阅读(357)  评论(0编辑  收藏  举报