mySpinner.setOnItemSelectedListener(new OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parentView, View selectedItemView, int position, long id) {
// my code here, but I don't know how..
}
}
我认为它会是这样的:
- 获取 mySpinner 的选中项位置
switch(pos)
- 更新微调器条目?我不知道...
我不确定最后一步该怎么做。帮助?