public class GaleriaGruposAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter<GaleriaGruposAdapter.GruposViewHolder> implements ItemTouchHelperAdapter
| Modifier and Type | Class and Description |
|---|---|
private class |
GaleriaGruposAdapter.CargarGruposAsync |
class |
GaleriaGruposAdapter.GruposViewHolder |
| Modifier and Type | Field and Description |
|---|---|
private GlideAttatcher |
glideAttatcher |
private Json |
json |
private int |
layoutID |
private org.json.JSONArray |
mArrayGrupos |
private com.google.firebase.auth.FirebaseAuth |
mAuth |
private android.content.Context |
mContext |
private static java.lang.String |
TAG |
private SubirArchivosFirebase |
uploadFirebaseFile |
| Constructor and Description |
|---|
GaleriaGruposAdapter(android.content.Context mContext,
int layoutID,
org.json.JSONArray mArrayGrupos,
com.google.firebase.auth.FirebaseAuth mAuth) |
| Modifier and Type | Method and Description |
|---|---|
int |
getItemCount() |
long |
getItemId(int position) |
org.json.JSONArray |
getmArrayGrupos() |
void |
onBindViewHolder(GaleriaGruposAdapter.GruposViewHolder holder,
int position) |
GaleriaGruposAdapter.GruposViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
onDropItem() |
void |
onItemDismiss(int position) |
void |
onItemMove(int fromIndex,
int toIndex) |
void |
onViewRecycled(GaleriaGruposAdapter.GruposViewHolder holder) |
void |
setmArrayGrupos(org.json.JSONArray mArrayGrupos) |
bindViewHolder, createViewHolder, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserverprivate android.content.Context mContext
private int layoutID
private org.json.JSONArray mArrayGrupos
private Json json
private SubirArchivosFirebase uploadFirebaseFile
private com.google.firebase.auth.FirebaseAuth mAuth
private static final java.lang.String TAG
private GlideAttatcher glideAttatcher
public GaleriaGruposAdapter(android.content.Context mContext,
int layoutID,
org.json.JSONArray mArrayGrupos,
com.google.firebase.auth.FirebaseAuth mAuth)
public GaleriaGruposAdapter.GruposViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder in class androidx.recyclerview.widget.RecyclerView.Adapter<GaleriaGruposAdapter.GruposViewHolder>public void onBindViewHolder(GaleriaGruposAdapter.GruposViewHolder holder, int position)
onBindViewHolder in class androidx.recyclerview.widget.RecyclerView.Adapter<GaleriaGruposAdapter.GruposViewHolder>public org.json.JSONArray getmArrayGrupos()
public void setmArrayGrupos(org.json.JSONArray mArrayGrupos)
public void onDropItem()
onDropItem in interface ItemTouchHelperAdapterpublic void onItemMove(int fromIndex,
int toIndex)
onItemMove in interface ItemTouchHelperAdapterpublic void onItemDismiss(int position)
onItemDismiss in interface ItemTouchHelperAdapterpublic int getItemCount()
getItemCount in class androidx.recyclerview.widget.RecyclerView.Adapter<GaleriaGruposAdapter.GruposViewHolder>public void onViewRecycled(@NonNull
GaleriaGruposAdapter.GruposViewHolder holder)
onViewRecycled in class androidx.recyclerview.widget.RecyclerView.Adapter<GaleriaGruposAdapter.GruposViewHolder>public long getItemId(int position)
getItemId in class androidx.recyclerview.widget.RecyclerView.Adapter<GaleriaGruposAdapter.GruposViewHolder>