mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Descriptionを非表示に
This commit is contained in:
parent
e1c79e44ae
commit
06f6048b78
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user