A
LiveData Focused on immutable facilities. I mean, if your object has changed, you have to provide a completely new facility, in your case, just once again. setData(...)may have pre-tested whether real changes have been made.Talking about it. RecyclerViewthe same story.Used DiffUtil You'll get a modified object, compare it to the old one, make payload with changes, it'll be in. public void onBindViewHolder(@NonNull VH holder, int position, @NonNull List<Object> payloads) in the adapter, and you'll be able to make the necessary changes, but only those that really changed. And notifyDataSetChanged You don't have to use it, even if you want to.