refresh google map in android -


i created simple android application in used google maps.

now in map activity created option menu , in when 1 particular item selected opened activity.

now problem activity containing 1 list view , when particular list item selected again starting map activity using intent.

now according item selected changes must me reflected, mean want clear particular googel map , again load it.

should use recreate method refresh or there other option available?

you have clear() method can use:

from docs:

removes markers, polylines, polygons, overlays, etc map.


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -