spinner
Title
Question
I am getting the correct department if selected but If none of the list item in the department are selected, Iam getting the 1st item of the array as department by default . How to get None/empty as the output if no item is selected
Android-app-using-Kotlin Adding-spinner-and-Image 06-07 min 20-30 sec
Answers:
Hi Vijay,
override fun onNothingSelected(parent: AdapterView<*>?) {
showToast(message = "Nothing selected")
}
Login to add comment