title: Creating a place type filter for the Place Autocomplete API for Android
body: <p>This API seems to be fairly new so there aren't many questions about it here, nor many tutorials.</p>
  
  <p>I followed Google's tutorial and got the Autocomplete Android api working in my app. I'm now trying to use the <strong>AutocompleteFilter</strong> to restrict my results to a certain region or certain types of places.</p>
  
  <p>There seems to be little to no documentation for a beginner like me explaining what to do.</p>
  
  <p>The AutocompleteFilter requires a Collection object. How do I change the the following values into integers?</p>
  
  <p><a href="https://developers.google.com/places/supported_types#table3" rel="nofollow">https://developers.google.com/places/supported_types#table3</a></p>