mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
WIP
This commit is contained in:
parent
d30d6ef519
commit
c36246bded
|
@ -31,7 +31,7 @@ public class DebugMenuListItemAdapter extends RecyclerView.Adapter<DebugMenuList
|
||||||
public void onBindViewHolder(@NonNull DebugMenuListItemViewHolder holder, int position) {
|
public void onBindViewHolder(@NonNull DebugMenuListItemViewHolder holder, int position) {
|
||||||
DebugMenuListItem item = debugMenuListItems.get(position);
|
DebugMenuListItem item = debugMenuListItems.get(position);
|
||||||
holder.title.setText(item.getTitle());
|
holder.title.setText(item.getTitle());
|
||||||
// Set other views in the holder with data from `item`
|
holder.description.setText(item.getDescription());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -41,6 +41,7 @@ public class DebugMenuListItemAdapter extends RecyclerView.Adapter<DebugMenuList
|
||||||
|
|
||||||
static class DebugMenuListItemViewHolder extends RecyclerView.ViewHolder {
|
static class DebugMenuListItemViewHolder extends RecyclerView.ViewHolder {
|
||||||
TextView title;
|
TextView title;
|
||||||
|
TextView description;
|
||||||
|
|
||||||
public DebugMenuListItemViewHolder(@NonNull View itemView) {
|
public DebugMenuListItemViewHolder(@NonNull View itemView) {
|
||||||
super(itemView);
|
super(itemView);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user