code: @MainThread
      public void update(@NonNull List<T> newItems, @NonNull DiffUtil.DiffResult diffResult) {
          synchronized (LIST_LOCK) {
              list = newItems;
          }
          diffResult.dispatchUpdatesTo(listCallback);
      }
docs: Updates the contents of this list to the given one using the DiffResults to dispatch change
  notifications.
  
  @param newItems   The items to set this list to.
  @param diffResult The diff results to dispatch change notifications.