2017년 4월 2일 일요일

Spinner After Selecting


Good day Expert!
I just wanna ask if there is any way to fire an after selecting event if i choose the same value of the past selection.??
Please help if u got any idea :)

--
This is an Android thing and cannot be done.
It just means that you must do something else to find out the value of the spinner. Treat it like a value entered in a form and have a submit button to read the values.

--
Have you tried storing the prior selection in a global variable, for example named Prior_Selection?

--
My app in to send via sms the element selected in the spinner.. so whenever i want to resend ill just need to select again the item in spinner.. but unfortunately picking the same value does not trigger the after.selecting event.. Is there any way to force trigger even ig i choose same item..??

--
A submit button is your only option with a spinner, but maybe you could use a ListPicker? That one will fire after picking I think.

--

댓글 없음:

댓글 쓰기