Forums Register Login

Spinner on same selecting which event call

+Pie Number of slices to send: Send
Hi , This is Vijay ,
I am Android begginer .
I have problem of Spinner on same selecting value of the spinner which event gets called.
or when onNothingSelected methods gets called .
please help me
Thanks in advanced
1
+Pie Number of slices to send: Send
Have you already read this page?
Place some Log.v("TAG","description"); in the callback method's and watch the logcat while using the spinner, this way you can see what is happening and when.
+Pie Number of slices to send: Send
@ Misha van Tol thanks for reply
Yes , I have already read that link,
suppose there are 3 values in spinner 1.Mercury 2. Venus3.Earth
and there is already selected 3rd value and i have select 2nd OK then OnItemSelectedListener 's onItemSelected is gets called
but at that point when i click on spinner and again select the same value i.e 2nd then OnItemSelectedListener no mehtod gets called
then at this point i have to handle further event on same selection also.

1
+Pie Number of slices to send: Send
 

Vijay Nimkarde wrote:then at this point i have to handle further event on same selection also.


I'd reconsider a UI design like that. People do not expect something to happen if they click on a selection that is already active. You'd need to have very good reasons to break commonly accepted GUI behavior.
+Pie Number of slices to send: Send
@ Lester Burnham
thanks for your reply.

I think you are right.
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3315 times.
Similar Threads
Tring to do a spinner and i am getting errors
How to validate a spinner in android
Doubt with ArrayAdapter,ArrayAdapterView
Please help with a spinner
Doubt on Servlet having database connection?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:02:10.