Searched refs:itemHolder (Results 1 – 9 of 9) sorted by relevance
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() argument204 itemHolder.addOnItemChangedListener(mItemChangedNotifier); in addItem()206 mItemHolders.add(position, itemHolder); in addItem()219 public ItemAdapter removeItem(@NonNull T itemHolder) { in removeItem() argument[all …]
281 final AlarmItemHolder itemHolder = in onLoadFinished() local283 itemHolders.add(itemHolder); in onLoadFinished()415 public void removeItem(AlarmItemHolder itemHolder) { in removeItem() argument416 mItemAdapter.removeItem(itemHolder); in removeItem()
63 protected void onBindItemView(RingtoneHolder itemHolder) { in onBindItemView() argument64 mNameView.setText(itemHolder.getName()); in onBindItemView()65 final boolean opaque = itemHolder.isSelected() || !itemHolder.hasPermissions(); in onBindItemView()72 if (!itemHolder.hasPermissions()) { in onBindItemView()80 } else if (itemHolder.item == Utils.RINGTONE_SILENT) { in onBindItemView()82 } else if (itemHolder.isPlaying()) { in onBindItemView()89 mSelectedView.setVisibility(itemHolder.isSelected() ? VISIBLE : GONE); in onBindItemView()91 final int bgColorId = itemHolder.isSelected() ? R.color.white_08p : R.color.transparent; in onBindItemView()
39 protected void onBindItemView(HeaderHolder itemHolder) { in onBindItemView() argument40 mItemHeader.setText(itemHolder.getTextResId()); in onBindItemView()
365 for (ItemAdapter.ItemHolder<Uri> itemHolder : mRingtoneAdapter.getItems()) { in getRingtoneHolder()366 if (itemHolder instanceof RingtoneHolder) { in getRingtoneHolder()367 final RingtoneHolder ringtoneHolder = (RingtoneHolder) itemHolder; in getRingtoneHolder()
99 protected void onBindItemView(AlarmItemHolder itemHolder) { in onBindItemView() argument100 super.onBindItemView(itemHolder); in onBindItemView()101 final Alarm alarm = itemHolder.item; in onBindItemView()102 final AlarmInstance alarmInstance = itemHolder.getAlarmInstance(); in onBindItemView()
192 protected void onBindItemView(final AlarmItemHolder itemHolder) { in onBindItemView() argument193 super.onBindItemView(itemHolder); in onBindItemView()195 final Alarm alarm = itemHolder.item; in onBindItemView()196 final AlarmInstance alarmInstance = itemHolder.getAlarmInstance(); in onBindItemView()
84 protected void onBindItemView(final AlarmItemHolder itemHolder) { in onBindItemView() argument85 final Alarm alarm = itemHolder.item; in onBindItemView()
148 public void onDeleteClicked(AlarmItemHolder itemHolder) { in onDeleteClicked() argument150 ((AlarmClockFragment) mFragment).removeItem(itemHolder); in onDeleteClicked()152 final Alarm alarm = itemHolder.item; in onDeleteClicked()