Michael Dorin wrote: > Is there anyway to have both: > @Override > public boolean onTap(GeoPoint p, MapView mapView) > > @Override > protected boolean onTap(int index) > > > I want to be able to detect if a user has tapped a previously selected > GeoPoint. > I guess I could do some kind of ugly lat/lon compare in a list.. > > If I have both of those onTaps ... only the first one is ever called.
Make sure the onTap(GeoPoint p, MapView mapView) chains to the superclass -- that may solve your problem of getting the second one called. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.0 Available! -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

