Android OPEN Spinner With Single Button Click
I have implemented button which clicks and opens dialog with spinner inside as described here However this is two clicks. One to open dialog and one to open spinner. I want the s
Solution 1:
Just put this in your button.onClick
spinner.performClick();
Solution 2:
Define a spinner in your activity with 0 height and 0 width in your xml, then the onItemSelected will work
Post a Comment for "Android OPEN Spinner With Single Button Click"