nice-spinner
nice-spinner copied to clipboard
get Id of the spinner from onItemSelected interface
@Override
public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {
Log.d("Spinner Id",adapterView.getId()+"");
}
log display Spinner Id -1
@Thoimanich The same issue. It'd very nice in order to know which spinner fired the onItemSelected event. Grouping on unique method to handle events of multiple spinners of the same view, it reduces boilerplate.
Is this still valid?