Lines Matching refs:itemHolder
45 public void onItemChanged(ItemHolder<?> itemHolder) {
47 mOnItemChangedListener.onItemChanged(itemHolder);
49 final int position = mItemHolders.indexOf(itemHolder);
56 public void onItemChanged(ItemHolder<?> itemHolder, Object payload) {
58 mOnItemChangedListener.onItemChanged(itemHolder, payload);
60 final int position = mItemHolders.indexOf(itemHolder);
203 public ItemAdapter addItem(int position, @NonNull T itemHolder) { in addItem() argument
204 itemHolder.addOnItemChangedListener(mItemChangedNotifier); in addItem()
206 mItemHolders.add(position, itemHolder); in addItem()
219 public ItemAdapter removeItem(@NonNull T itemHolder) { in removeItem() argument
220 final int index = mItemHolders.indexOf(itemHolder); in removeItem()
222 itemHolder = mItemHolders.remove(index); in removeItem()
223 itemHolder.removeOnItemChangedListener(mItemChangedNotifier); in removeItem()
439 public final void bindItemView(T itemHolder) { in bindItemView() argument
440 mItemHolder = itemHolder; in bindItemView()
441 onBindItemView(itemHolder); in bindItemView()
450 protected void onBindItemView(T itemHolder) { in onBindItemView() argument
520 void onItemChanged(ItemHolder<?> itemHolder); in onItemChanged() argument
529 void onItemChanged(ItemAdapter.ItemHolder<?> itemHolder, Object payload); in onItemChanged() argument