Issue on removing item from clustermanager

前端 未结 5 480
鱼传尺愫
鱼传尺愫 2020-12-16 01:44

In my Android application, I have to delete and re-add a cluster item in my GoogleMap, that represents my current location. But when I run this code:

cluster         


        
5条回答
  •  醉酒成梦
    2020-12-16 02:01

    After updating android-maps-utils to 0.5

    clusterManager.remove(item); will never throw an UnsupportedOperationException("NonHierarchicalDistanceBasedAlgorithm.remove not implemented")

    Refer this thread

提交回复
热议问题