It will always be more efficient to use more specific change events if you can. Rely on notifyDataSetChanged as a last resort. RecycleView

It means that if you need to change the whole item list at once in the recyclerview, then use notifyDataSetChanged().

If you need to change the specific item, then it’s better to use notifyItemChanged(position) so that it won’t refresh & rebind the whole dataset which can impact the performance if the dataset is large.

So it’s just a normal suggestion or maybe a warning, nothing to worry about. 🙂

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)