Sorry for my bad English,
I am individually getting array list value to the checkboxes. (Actually, these are the weekdays that are coming from the activity). but the problem
use this structure no need to do it in hardcode way
for (int i = 0; i < myList.size(); i++) {
switch (myList.get(i)){
case "Monday":
cbMon.setChecked(true);
break;
case "Tuesday" :
cbTue.setChecked(true);
break;
case "Sunday":
cbSun.setChecked(true);
break;
default:break;
}
}