This is the line that fails:
adds = geo.GetFromLocation(location.GetLatitude(), location.GetLongitude(), 1)
geo.GetFromLocation
returns Java.Util.IList<Address>
. adds
is of type Address
. Hence the compile error.
Use the index operator to access one of the Addresses.
EDIT
Also, you should initialize geo
before using it:
Geocoder geo = new Geocoder(this, Locale.getDefault());
Finally, GetFromLocation may return null or an empty list, so check for both.