selectedIndex property

int selectedIndex
final

The selected item is index. Changing this property will change and animate the item being selected. Defaults to zero.

Implementation

final int selectedIndex;