Location aware Android Apps - Part 6, Displaying location on GoogleMaps | MapView

Опубликовано: 16 Июль 2026
на канале: Codetutor
1,558
31

In this video we revisit the topic of displaying the location in Google Maps, but instead of using SupportMapFragment this time we use MapView. Using MapView slightly complicates the matter. In case of SupportMapFragment, since it is a Fragment, it has a life cycler associated with it. As Activity closes, opens, the life cycler methods of Fragments are also called. So everything is based on life cycler methods of the Activity, during which the MapView needs to be maintained in a proper state. We have a look at that in this video.

Follow me on Twitter:   / anilvdeshpande  

Github link to the source code: https://github.com/AnilDeshpande/GeoL...