select method
外部接口
Implementation
void select(int index) {
if (multiple) {
if (!_selected.contains(index)) _selected.add(index);
} else {
_selected = [index];
}
_notify();
}
外部接口
void select(int index) {
if (multiple) {
if (!_selected.contains(index)) _selected.add(index);
} else {
_selected = [index];
}
_notify();
}