public class ScoreListItem extends androidx.recyclerview.widget.RecyclerView.Adapter<ScoreListItem.ScoreViewHolder>
| Modifier and Type | Class and Description |
|---|---|
class |
ScoreListItem.ScoreViewHolder |
| Modifier and Type | Field and Description |
|---|---|
private android.app.Dialog |
dialogDismiss |
private int |
id |
private Json |
json |
private android.content.Context |
mContext |
private DatosDeUso |
mDatosDeUso |
private int |
mLayoutResourceId |
private textToSpeech |
myTTs |
| Constructor and Description |
|---|
ScoreListItem(android.content.Context mContext,
int id) |
| Modifier and Type | Method and Description |
|---|---|
int |
getItemCount() |
long |
getItemId(int position) |
int |
getItemViewType(int position) |
void |
onBindViewHolder(ScoreListItem.ScoreViewHolder holder,
int position) |
ScoreListItem.ScoreViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
bindViewHolder, createViewHolder, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserverprivate int mLayoutResourceId
private android.content.Context mContext
private int id
private DatosDeUso mDatosDeUso
private android.app.Dialog dialogDismiss
private textToSpeech myTTs
private Json json
@NonNull public ScoreListItem.ScoreViewHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
onCreateViewHolder in class androidx.recyclerview.widget.RecyclerView.Adapter<ScoreListItem.ScoreViewHolder>public void onBindViewHolder(@NonNull
ScoreListItem.ScoreViewHolder holder,
int position)
onBindViewHolder in class androidx.recyclerview.widget.RecyclerView.Adapter<ScoreListItem.ScoreViewHolder>public int getItemViewType(int position)
getItemViewType in class androidx.recyclerview.widget.RecyclerView.Adapter<ScoreListItem.ScoreViewHolder>public long getItemId(int position)
getItemId in class androidx.recyclerview.widget.RecyclerView.Adapter<ScoreListItem.ScoreViewHolder>public int getItemCount()
getItemCount in class androidx.recyclerview.widget.RecyclerView.Adapter<ScoreListItem.ScoreViewHolder>