Lines Matching defs:updates
33 * It can be used to calculate updates for a RecyclerView Adapter.
35 * DiffUtil uses Eugene W. Myers's difference algorithm to calculate the minimal number of updates
409 * You can consume the updates in a DiffResult via
513 * the updates (which is probably being called on the main thread).
632 * method to dispatch all updates to the RecyclerView.
640 * Note that the RecyclerView requires you to dispatch adapter updates immediately when you
642 * rule because updates are sent to the adapter right after the backing data is changed,
648 * list is instantly moved to its final state while the adapter updates are dispatched later
685 * These updates are atomic such that the first update call effects every update call that
732 private static PostponedUpdate removePostponedUpdate(List<PostponedUpdate> updates,
734 for (int i = updates.size() - 1; i >= 0; i--) {
735 final PostponedUpdate update = updates.get(i);
737 updates.remove(i);
738 for (int j = i; j < updates.size(); j++) {
740 updates.get(j).currentPos += removal ? 1 : -1;
838 * When an update is skipped, it is tracked as other updates are dispatched until the matching