This commit is contained in:
r-ca 2024-01-28 23:27:14 +09:00
parent 9045cec67d
commit 8af2afe996
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -48,7 +48,7 @@ public class ListItemAdapter extends RecyclerView.Adapter<ListItemAdapter.ListIt
holder.title.setText(listItem.getTitle()); holder.title.setText(listItem.getTitle());
holder.description.setText(listItem.getDescription()); holder.description.setText(listItem.getDescription());
if (listItem.getTagList() != null) { if (listItem.getTagList() != null && !listItem.getTagList().isEmpty()) {
for (int i = 0; i < listItem.getTagList().size(); i++) { for (int i = 0; i < listItem.getTagList().size(); i++) {
Toast.makeText(holder.tagGroup.getContext(), listItem.getTagList().get(i).getName(), Toast.LENGTH_SHORT).show(); Toast.makeText(holder.tagGroup.getContext(), listItem.getTagList().get(i).getName(), Toast.LENGTH_SHORT).show();
ChipGroup chipGroup = holder.tagGroup; ChipGroup chipGroup = holder.tagGroup;