On Tue, Feb 9, 2010 at 11:07 AM, Aamir Yaseen <[email protected]>wrote:
> We are displaying multiple events/venues on map (just like search on > google map for pizza) and we want to change icon of any event/venue > when user navigate through next/previous buttons. I am using > StateListDrawable to draw these icons, but I dont know how to change > state of any OverlayItem from onClick() of my navigation buttons. > I assume when you click the next / previous buttons you are calling nextFocus() on your ItemizedOverlay list. In which case if you add a FocusChangedListener you will be notified when the focus changes and can update your overlays as necessary. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

