public class InstructionAdapter extends android.support.v7.widget.RecyclerView.Adapter<InstructionAdapter.ViewHolder>
Modifier and Type | Class and Description |
---|---|
static class |
InstructionAdapter.ViewHolder |
Constructor and Description |
---|
InstructionAdapter(com.graphhopper.util.InstructionList instructions) |
Modifier and Type | Method and Description |
---|---|
int |
getItemCount() |
void |
onBindViewHolder(InstructionAdapter.ViewHolder holder,
int position) |
InstructionAdapter.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
bindViewHolder, createViewHolder, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public InstructionAdapter(com.graphhopper.util.InstructionList instructions)
public InstructionAdapter.ViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
in class android.support.v7.widget.RecyclerView.Adapter<InstructionAdapter.ViewHolder>
public void onBindViewHolder(InstructionAdapter.ViewHolder holder, int position)
onBindViewHolder
in class android.support.v7.widget.RecyclerView.Adapter<InstructionAdapter.ViewHolder>
public int getItemCount()
getItemCount
in class android.support.v7.widget.RecyclerView.Adapter<InstructionAdapter.ViewHolder>