ItemList.OnSelectedListener
public interface ItemList.OnSelectedListener
A listener for handling selection events for lists with selectable items.
| See also | |
|---|---|
setOnSelectedListener |
Summary
Public methods |
|
|---|---|
abstract void |
onSelected(int selectedIndex)Notifies that an item was selected. |
Public methods
onSelected
Added in 1.0.0
abstract void onSelected(int selectedIndex)
Notifies that an item was selected.
This event is called even if the selection did not change, for example, if the user selected an already selected item.
| Parameters | |
|---|---|
int selectedIndex |
the index of the newly selected item |