Searched defs:oldItemPosition (Results 1 - 3 of 3) sorted by path

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DDiffUtilActivity.java122 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { argument
125 return mOld.get(oldItemPosition).equals(mNew.get(newItemPosition));
129 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { argument
130 return mOld.get(oldItemPosition).equals(mNew.get(newItemPosition));
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DDiffUtilActivity.java122 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { argument
125 return mOld.get(oldItemPosition).equals(mNew.get(newItemPosition));
129 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { argument
130 return mOld.get(oldItemPosition).equals(mNew.get(newItemPosition));
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DDiffUtil.java301 * @param oldItemPosition The position of the item in the old list
305 public abstract boolean areItemsTheSame(int oldItemPosition, int newItemPosition); argument
320 * @param oldItemPosition The position of the item in the old list
325 public abstract boolean areContentsTheSame(int oldItemPosition, int newItemPosition); argument
339 * @param oldItemPosition The position of the item in the old list
345 public Object getChangePayload(int oldItemPosition, int newItemPosition) { argument

Completed in 246 milliseconds