Modifier and Type | Method | Description |
---|---|---|
void |
onSelectionChanged(int selectedIndex,
int previousSelection,
boolean changedByUserInteraction) |
This method is called whenever the user changes selection from one item to another in the combo box
|
void onSelectionChanged(int selectedIndex, int previousSelection, boolean changedByUserInteraction)
selectedIndex
- Index of the item which is now selectedpreviousSelection
- Index of the item which was previously selectedchangedByUserInteraction
- If true
then this selection change happened because of user
interaction with the combo box. If false
then the selected
item was set programmatically.Copyright © 2020. All rights reserved.