@Test public void getItemCount() { assertSame(items.size(), adapter.getItemCount()); }
@Override public int getItemCount() { return items != null ? items.size() : 0; }
WitchRecyclerViewAdapter extends RecyclerView.Adapter<EmptyViewHolder> { @Override public int getItemCount() { return items != null ? items.size() : 0; } }
WitchRecyclerViewAdapter extends RecyclerView.Adapter<EmptyViewHolder> { @Override public int getItemCount() { return items != null ? items.size() : 0; } WitchRecyclerViewAdapter(List<Item> items, List<Binder<? extends Item>> binders);  WitchRecyclerViewAdapter(List<Binder<? extends Item>> binders); }
WitchRecyclerViewAdapter extends RecyclerView.Adapter<EmptyViewHolder> { @Override public int getItemCount() { return items != null ? items.size() : 0; } WitchRecyclerViewAdapter(List<Item> items, List<Binder<? extends Item>> binders);  WitchRecyclerViewAdapter(List<Binder<? extends Item>> binders); @Override int getItemViewType(int position); @Override @NonNull EmptyViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType); @Override void onBindViewHolder(@NonNull EmptyViewHolder emptyViewHolder, int position); @Override int getItemCount(); List<Item> getItems(); void setItems(List<Item> items); }
WitchRecyclerViewAdapter extends RecyclerView.Adapter<EmptyViewHolder> { @Override public int getItemCount() { return items != null ? items.size() : 0; } WitchRecyclerViewAdapter(List<Item> items, List<Binder<? extends Item>> binders);  WitchRecyclerViewAdapter(List<Binder<? extends Item>> binders); @Override int getItemViewType(int position); @Override @NonNull EmptyViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType); @Override void onBindViewHolder(@NonNull EmptyViewHolder emptyViewHolder, int position); @Override int getItemCount(); List<Item> getItems(); void setItems(List<Item> items);  }