Issue
I would like to have a Spinner updated upon an onTap event in my overlay items. What is the best practice in this situation? Should I pass the Spinner to the overlay items? The method to update the Spinner is currently in the MapActivity, is there a way to invoke it from the onTap event?
Thanks
Solution
I did a similar thing, and I ended up passing the Spinner to my Overlay in the constructor. Then you can update the array adapter of the Spinner inside your Overlay code. Hope it works!
Answered By - crocboy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.