public PlacesAutocompleteAdapter(Context context, Android.Gms.Common.Apis.GoogleApiClient googleApiClient, Android.Gms.Maps.Model.LatLngBounds bounds, Android.Gms.Location.Places.AutocompleteFilter filter) { this.context = context; this.googleApiClient = googleApiClient; this.bounds = bounds; this.autoCompleteFilter = filter; }
public static async Task <Android.Gms.Location.Places.AutocompletePredictionBuffer> GetAutocompletePredictionsAsync(this IGeoDataApi api, GoogleApiClient client, string query, Android.Gms.Maps.Model.LatLngBounds bounds, AutocompleteFilter filter) { return((await api.GetAutocompletePredictions(client, query, bounds, filter)).JavaCast <AutocompletePredictionBuffer> ()); }