Home
last modified time | relevance | path

Searched refs:diffCallback (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DAsyncDifferConfig.java48 @NonNull DiffUtil.ItemCallback<T> diffCallback) { in AsyncDifferConfig() argument
51 mDiffCallback = diffCallback; in AsyncDifferConfig()
84 public Builder(@NonNull DiffUtil.ItemCallback<T> diffCallback) { in Builder() argument
85 mDiffCallback = diffCallback; in Builder()
DListAdapter.java99 protected ListAdapter(@NonNull DiffUtil.ItemCallback<T> diffCallback) { in ListAdapter() argument
101 new AsyncDifferConfig.Builder<>(diffCallback).build()); in ListAdapter()
DAsyncListDiffer.java125 @NonNull DiffUtil.ItemCallback<T> diffCallback) { in AsyncListDiffer() argument
127 mConfig = new AsyncDifferConfig.Builder<>(diffCallback).build(); in AsyncListDiffer()
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DPagedStorageDiffHelper.java30 final DiffUtil.ItemCallback<T> diffCallback) { in computeDiff() argument
46 return diffCallback.getChangePayload(oldItem, newItem); in computeDiff()
70 return diffCallback.areItemsTheSame(oldItem, newItem); in computeDiff()
85 return diffCallback.areContentsTheSame(oldItem, newItem); in computeDiff()
DPagedListAdapter.java131 protected PagedListAdapter(@NonNull DiffUtil.ItemCallback<T> diffCallback) { in PagedListAdapter() argument
132 mDiffer = new AsyncPagedListDiffer<>(this, diffCallback); in PagedListAdapter()
DAsyncPagedListDiffer.java151 @NonNull DiffUtil.ItemCallback<T> diffCallback) { in AsyncPagedListDiffer() argument
153 mConfig = new AsyncDifferConfig.Builder<>(diffCallback).build(); in AsyncPagedListDiffer()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DAsyncListDifferTest.kt62 diffCallback: DiffUtil.ItemCallback<T>): AsyncListDiffer<T> { in createDiffer()
64 AsyncDifferConfig.Builder<T>(diffCallback) in createDiffer()
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DAsyncPagedListDifferTest.kt46 diffCallback: DiffUtil.ItemCallback<T>): AsyncPagedListDiffer<T> { in createDiffer()
48 AsyncDifferConfig.Builder<T>(diffCallback) in createDiffer()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGuidedActionAdapter.java165 public void setDiffCallback(DiffCallback<GuidedAction> diffCallback) { in setDiffCallback() argument
166 mDiffCallback = diffCallback; in setDiffCallback()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DGuidedStepSupportFragment.java827 public void setActionsDiffCallback(DiffCallback<GuidedAction> diffCallback) { in setActionsDiffCallback() argument
828 mAdapter.setDiffCallback(diffCallback); in setActionsDiffCallback()
DGuidedStepFragment.java832 public void setActionsDiffCallback(DiffCallback<GuidedAction> diffCallback) { in setActionsDiffCallback() argument
833 mAdapter.setDiffCallback(diffCallback); in setActionsDiffCallback()