This commit is contained in:
r-ca 2023-12-17 14:13:31 +09:00
parent d30d6ef519
commit c36246bded
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -31,7 +31,7 @@ public class DebugMenuListItemAdapter extends RecyclerView.Adapter<DebugMenuList
public void onBindViewHolder(@NonNull DebugMenuListItemViewHolder holder, int position) {
DebugMenuListItem item = debugMenuListItems.get(position);
holder.title.setText(item.getTitle());
// Set other views in the holder with data from `item`
holder.description.setText(item.getDescription());
}
@Override
@ -41,6 +41,7 @@ public class DebugMenuListItemAdapter extends RecyclerView.Adapter<DebugMenuList
static class DebugMenuListItemViewHolder extends RecyclerView.ViewHolder {
TextView title;
TextView description;
public DebugMenuListItemViewHolder(@NonNull View itemView) {
super(itemView);