T - Adapter item typepublic static interface MaterialSpinner.OnItemSelectedListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onItemSelected(MaterialSpinner view,
int position,
long id,
T item)
Callback method to be invoked when an item in this view has been selected.
|
void onItemSelected(MaterialSpinner view, int position, long id, T item)
Callback method to be invoked when an item in this view has been selected. This callback is invoked only when the newly selected position is different from the previously selected position or if there was no selected item.
view - The MaterialSpinner viewposition - The position of the view in the adapterid - The row id of the item that is selecteditem - The selected item