How to better handle GPS location and android
问题 I have a fragment with a listview in it, that retrieves the users location, then updates the list view based on the users location. The problem with my code, is that it seems to grab the location update the list, then keep updating. And reloading the list, almost to the point of annoyance. Here is my code: public class FindBrewery extends Fragment implements LocationListener { private TextView latituteField; private TextView longitudeField; LocationManager locationManager; private String