1
我有地方標識集合,我希望地方選擇器只顯示那些地方作爲結果。有沒有辦法通過placeIDS過濾?在Google Places API中通過placeIDs過濾PlacePicker結果
PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder();
Context context = getApplicationContext();
try {
startActivityForResult(builder.build(context), PLACE_PICKER_REQUEST);
} catch (GooglePlayServicesRepairableException e) {
e.printStackTrace();
} catch (GooglePlayServicesNotAvailableException e) {
e.printStackTrace();
}