Class MyContextsDialog.myContextAdapter
- java.lang.Object
-
- androidx.recyclerview.widget.RecyclerView.Adapter<MyContextsDialog.myContextAdapter.MyViewHolder>
-
- eu.h2020.helios_social.core.context_example1.MyContextsDialog.myContextAdapter
-
- Enclosing class:
- MyContextsDialog
public class MyContextsDialog.myContextAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter<MyContextsDialog.myContextAdapter.MyViewHolder>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MyContextsDialog.myContextAdapter.MyViewHolder
-
Constructor Summary
Constructors Constructor Description myContextAdapter(java.util.ArrayList<Context> myDataset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getItemCount()
void
onBindViewHolder(MyContextsDialog.myContextAdapter.MyViewHolder holder, int position)
MyContextsDialog.myContextAdapter.MyViewHolder
onCreateViewHolder(android.view.ViewGroup parent, int viewType)
-
Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, createViewHolder, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
-
-
-
-
Constructor Detail
-
myContextAdapter
public myContextAdapter(java.util.ArrayList<Context> myDataset)
-
-
Method Detail
-
onCreateViewHolder
public MyContextsDialog.myContextAdapter.MyViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
- Specified by:
onCreateViewHolder
in classandroidx.recyclerview.widget.RecyclerView.Adapter<MyContextsDialog.myContextAdapter.MyViewHolder>
-
onBindViewHolder
public void onBindViewHolder(MyContextsDialog.myContextAdapter.MyViewHolder holder, int position)
- Specified by:
onBindViewHolder
in classandroidx.recyclerview.widget.RecyclerView.Adapter<MyContextsDialog.myContextAdapter.MyViewHolder>
-
getItemCount
public int getItemCount()
- Specified by:
getItemCount
in classandroidx.recyclerview.widget.RecyclerView.Adapter<MyContextsDialog.myContextAdapter.MyViewHolder>
-
-