Select to view content in your preferred language

IdentiyResultSpinner won't respond in case of single IdentifyResult

1924
1
01-31-2012 12:22 PM
SwatiGadey
Emerging Contributor
In case when IdentifyResultSpinner has a single IdentifyResult, onItemSelected() wouldn't invoke on selecting that item. How do I handle this behavior?
As per Android default behavior of Spinner: "This callback is invoked only when the newly selected position is different from the previously selected position or if there was no selected item." How can I overcome this default behavior?
Will I have to write a custom IdentifyResultSpinner? If anyone came across a similar scenario, please post your experience.

Thanks.
0 Kudos
1 Reply
lanxiaoying
New Contributor
Yes,rewrite it!
0 Kudos