POIApp, we have the following two different scenarios for requesting location updates:
POIDetailFragment, we would like to request the current location when adding a new POI. In this scenario, we would want to request a single location change notification.
Now that we have some idea of how to add location services to an app, let's add location services to
POIListFragment as follows:
LocationManagerand obtain a reference ...