onSelect

public abstract void onSelect(int index)

当选择选项时回调

Parameters

index

当前选中的下标,与 setSelections 下标对应。