In a map activity, when the user taps more than one item, I need to
produce a list of them, similar to how GoogleEarth works on Android.

If I add to a list in the ItemizedOverlay.onTap for each item clicked
(returning false to not handle), the list owner has no way to know
when the list is complete (last onTap has been called). I tried
onTouched in the MapView, but it's called at first touch. My hope was
that there would be a callback called if none of the onTap() calls
returned true, but there's not.

Anybody else have an idea of how to solve this?

One thought is to fire up a dialog with onTouch, subscribe as a
listener to the onTap calls (set up all the back-end wiring), and have
the dialog's list update dynamically as the onTaps are called. I'm not
sure though that I can keep a dialog updating like that once it's up.

Any other suggestions?

Much appreciated,
Mike

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to