Adding custom index to ArrayList or SortedMap when adding overlayitem to ItemizedOverlay

左心房为你撑大大i 提交于 2019-12-02 12:44:08

What does your createItem method look like?

this should probably be a comment, but I don't have access to comments so I'll delete when I get a response

The error

05-18 13:15:16.450: E/AndroidRuntime(524):  at com.google.android.maps.ItemizedOverlay.populate(ItemizedOverlay.java:311)

is caused because the function createItem(int i) returns null.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!