selectRowInComponent method

  1. @override
void selectRowInComponent(
  1. int component,
  2. int row
)
override

定义选择更改后的操作

Implementation

@override
void selectRowInComponent(int component, int row) {
  if (0 == component) {
    firstSelectedIndex = row;
  } else if (1 == component) {
    secondSelectedIndex = row;
  } else {
    thirdSelectedIndex = row;
  }
}