Hi,

I came cross this issue sometimes, but have not figured out the reason
yet.

I extend the MapActivity and have an ItemizedOverlay which will
display array of items(For example, people) on top of MapView.  These
items' location are moving and some new items might be added in or
some might be removed. There is another thread managing these items.

MapActivity is the observer of these items and update the UI whenever
items changes. It works fine most of time. However, periodically, it
will cause trouble and makes ItemizedOverlay throw ArrayOutofIndex
exceptionrom  getIndexToDraw() method.

Anyone can help me why it might happen and what is the best practice
to support dynamic data bind for ItemizedOverlay?

Thanks.

--elephantbug



--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to