title: Customise PlaceAutocomplete
body: <p>I am working on an android application. In that there a <code>google map</code> with <code>places</code> search. when i searching places on search view i am getting</p>
  
  <pre><code>Peringathur,Kerala, India
  Peringavu, Thrissur, Kerala, India
  Peringala,Kerala, India
  Peringalkuthu Dam, Poringalkuthu, Pariyaram, Kerala, India
  Peringandoor, Kerala, India
  </code></pre>
  
  <p>Here i need to remove this <code>Kerala, India</code> from all lines</p>
  
  <pre><code> Iterator&lt;AutocompletePrediction&gt; iterator = autocompletePredictions.iterator();
          ArrayList resultList = new ArrayList&lt;&gt;(autocompletePredictions.getCount());
          while (iterator.hasNext()) {
              AutocompletePrediction prediction = iterator.next();
              String data = (String) prediction.getFullText(null);
  
              resultList.add(new PlaceAutocomplete(prediction.getPlaceId(),
                      (String) prediction.getPrimaryText(null)+"\n"+
                              (String) prediction.getSecondaryText(null)
  ));
  </code></pre>