diff --git a/app/src/main/java/tk/therealsuji/vtopchennai/adapters/ExamsItemAdapter.java b/app/src/main/java/tk/therealsuji/vtopchennai/adapters/ExamsItemAdapter.java index a445e22..efa91aa 100644 --- a/app/src/main/java/tk/therealsuji/vtopchennai/adapters/ExamsItemAdapter.java +++ b/app/src/main/java/tk/therealsuji/vtopchennai/adapters/ExamsItemAdapter.java @@ -133,6 +133,8 @@ public void setExamItem(Exam.AllData examItem) { venue.setVisibility(View.VISIBLE); } + slots.removeAllViews(); + for (int i = 0; i < examItem.slots.size(); ++i) { Chip slot = new Chip(this.examItem.getContext()); slot.setChipIconResource(R.drawable.ic_theory);