Lines Matching refs:ItemViewHolder
36 extends RecyclerView.Adapter<ItemAdapter.ItemViewHolder> {
73 public void onItemClicked(ItemViewHolder<?> viewHolder, int id) {
90 private final SparseArray<ItemViewHolder.Factory> mFactoriesByViewType = new SparseArray<>();
122 public ItemAdapter withViewTypes(ItemViewHolder.Factory factory, in withViewTypes()
261 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
262 final ItemViewHolder.Factory factory = mFactoriesByViewType.get(viewType); in onCreateViewHolder()
271 public void onBindViewHolder(ItemViewHolder viewHolder, int position) { in onBindViewHolder()
279 public void onViewRecycled(ItemViewHolder viewHolder) { in onViewRecycled()
406 public static class ItemViewHolder<T extends ItemHolder> extends RecyclerView.ViewHolder { class in ItemAdapter
423 public ItemViewHolder(View itemView) { in ItemViewHolder() method in ItemAdapter.ItemViewHolder
507 public ItemViewHolder<?> createViewHolder(ViewGroup parent, int viewType); in createViewHolder()
542 void onItemClicked(ItemViewHolder<?> viewHolder, int id); in onItemClicked()