
public class CustomRecycler extends RecyclerView.Adapter<CustomRecycler.ViewHolder>
| Modifier and Type | Class and Description |
|---|---|
class |
CustomRecycler.InfoDataViewHolder |
class |
CustomRecycler.MapViewHolder |
static class |
CustomRecycler.ViewHolder |
| Modifier and Type | Field and Description |
|---|---|
Context |
contextActual |
ArrayList<Info> |
data |
ArrayList<String> |
list |
| Constructor and Description |
|---|
CustomRecycler(ArrayList<Info> a) |
| Modifier and Type | Method and Description |
|---|---|
int |
getItemCount() |
int |
getItemViewType(int position) |
void |
onBindViewHolder(CustomRecycler.ViewHolder viewHolder,
int position) |
CustomRecycler.ViewHolder |
onCreateViewHolder(ViewGroup viewGroup,
int viewType) |
bindViewHolder, createViewHolder, getItemId, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserverpublic CustomRecycler.ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType)
onCreateViewHolder in class RecyclerView.Adapter<CustomRecycler.ViewHolder>public void onBindViewHolder(CustomRecycler.ViewHolder viewHolder, int position)
onBindViewHolder in class RecyclerView.Adapter<CustomRecycler.ViewHolder>public int getItemCount()
getItemCount in class RecyclerView.Adapter<CustomRecycler.ViewHolder>public int getItemViewType(int position)
getItemViewType in class RecyclerView.Adapter<CustomRecycler.ViewHolder>