'android geocoder void getfromlocation how to get addresses?
i have geocoder class in my android activity which contains google map
i need to reverse the geocode using
getFromLocation(double latitude, double longitude, int maxResults, Geocoder.GeocodeListener listener)
this method has void declaration but must returns list of addresses, according to google they said to do the below
Provides an array of Addresses that attempt to describe the area immediately surrounding the given latitude and longitude. The returned addresses should be localized for the locale provided to this class's constructor.
how to do that to get list of addresses if this method is void type?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
