Descriptionを非表示に

This commit is contained in:
r-ca 2024-01-29 05:06:05 +09:00
parent e1c79e44ae
commit 06f6048b78
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -49,6 +49,7 @@ public class LacertaFilePickerSelectDocumentAdapter extends RecyclerView.Adapter
public void onBindViewHolder(@NonNull LacertaFilePickerSelectDocumentAdapter.LacertaFilePickerSelectDocumentViewHolder holder, int position) { public void onBindViewHolder(@NonNull LacertaFilePickerSelectDocumentAdapter.LacertaFilePickerSelectDocumentViewHolder holder, int position) {
ListItem listItem = listItems.get(position); ListItem listItem = listItems.get(position);
holder.title.setText(listItem.getTitle()); holder.title.setText(listItem.getTitle());
holder.description.setVisibility(View.GONE);
holder.icon.setImageResource(listItem.getItemType().getIconId()); holder.icon.setImageResource(listItem.getItemType().getIconId());
holder.itemView.setOnClickListener(v -> listener.onDocumentSelected(listItem.getItemId())); holder.itemView.setOnClickListener(v -> listener.onDocumentSelected(listItem.getItemId()));
} }