Maybe stupid question but I really need the help
Step 1: I tap to Spinner to show the list item.
Step 2: I tap to outsite of the Spinner area to close this Spinner
Question: Which method of Spinner is goes on immediately after Spinner is closed?
Maybe stupid question but I really need the help
Step 1: I tap to Spinner to show the list item.
Step 2: I tap to outsite of the Spinner area to close this Spinner
Question: Which method of Spinner is goes on immediately after Spinner is closed?
mySpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
// a spinner item was selected
}
// you asked for this method
public void onNothingSelected(AdapterView<?> parent) {}
});