I implement an autocomplete location in my application and write the search keyword in EditTextto get the result according to the search keyword. here is the code to run PlaceAutocomplete activity to find a place
int PLACE_AUTOCOMPLETE_REQUEST_CODE = 1;
try {
Intent intent =
new
PlaceAutocomplete.IntentBuilder(PlaceAutocomplete.MODE_FULLSCREEN)
.build(this);
startActivityForResult(intent, PLACE_AUTOCOMPLETE_REQUEST_CODE);
} catch (GooglePlayServicesRepairableException e) {
} catch (GooglePlayServicesNotAvailableException e) {
}
when the activity start list is empty.

What I want - the already found place should be displayed when the activity starts, for example, uber app

source
share