title: How to use Android Places API AutocompleteFilter
body: <p>I am trying to implement the new Places API for android in my app and I cant seem to figure out how to set a filter to the request. Here is my code.</p>
  
  <pre><code>LatLng southWest = new LatLng(85, -180);
  LatLng northEast = new LatLng(-85, 180);
  LatLngBounds bounds = new LatLngBounds(southWest, northEast);
  AutocompleteFilter filter = AutocompleteFilter.create(WHAT SHOULD GO HERE?);
  PendingResult result = Places.GeoDataApi.getAutocompletePredictions(mGoogleApiClient,
              search.getText().toString(), bounds, filter);
  </code></pre>
  
  <p>As you can see I followed the documentation provided by google <a href="https://developers.google.com/places/android/autocomplete" rel="noreferrer">here</a> but I they dont talk about how to implement the filter, after reading the <a href="https://developer.android.com/reference/com/google/android/gms/location/places/AutocompleteFilter.html" rel="noreferrer">API Reference</a> I still cant figure out how to implement the API.</p>
  
  <p>I need help figuring out what should go in as the parameter for <code>AutocompleteFilter.create()</code> for the API. I want to filter the data by cities</p>
  
  <p>Thanks</p>