Skip to content

Commit 37c86b1

Browse files
committed
Fix duplicate slot in exam schedule
1 parent 4cefe40 commit 37c86b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/tk/therealsuji/vtopchennai/adapters/ExamsItemAdapter.java

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public void setExamItem(Exam.AllData examItem) {
8888
TextView timings = this.examItem.findViewById(R.id.text_view_timings);
8989
TextView venue = this.examItem.findViewById(R.id.text_view_venue);
9090
ChipGroup slots = this.examItem.findViewById(R.id.chip_group_slots);
91+
slots.removeAllViews();
9192

9293
SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MMM-yyyy", Locale.ENGLISH);
9394
SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm", Locale.ENGLISH);

0 commit comments

Comments
 (0)