java.lang.RuntimeException: setOnItemClickListener cannot be used with a spinner code example
Example: setOnItemClickListener cannot be used with a spinner
spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
}
@Override
public void onNothingSelected(AdapterView<?> parent) {
}
});