I currently have a recycler view whose data is updated every 5 seconds. To update the data in the list, I use
notifyItemChanged(position);
notifyItemRangeChanged(position, mList.size());
Each time I call notifyItemChanged (), the elements in my recycler view update properly, however, it will flash because it calls onBindViewHolder to call again. So, as if it is a fresh load every time. How can I prevent this, if possible?
source
share