@Override public void onPlaceSelected(Place place){
  Log.i(TAG,"Place Selected: " + place.getName());
  mPlaceDetailsText.setText(formatPlaceDetails(getResources(),place.getName(),place.getId(),place.getAddress(),place.getPhoneNumber(),place.getWebsiteUri()));
  CharSequence attributions=place.getAttributions();
  if (!TextUtils.isEmpty(attributions)) {
    mPlaceAttribution.setText(Html.fromHtml(attributions.toString()));
  }
 else {
    mPlaceAttribution.setText("");
  }
}

@ Override public void onPlaceSelected ( Place place ) { Log . i ( TAG , "Place Selected: " + place . getName ( ) ) ; mPlaceDetailsText . setText ( formatPlaceDetails ( getResources ( ) , place . getName ( ) , place . getId ( ) , place . getAddress ( ) , place . getPhoneNumber ( ) , place . getWebsiteUri ( ) ) ) ; CharSequence attributions = place . getAttributions ( ) ; if ( ! TextUtils . isEmpty ( attributions ) ) { mPlaceAttribution . setText ( Html . fromHtml ( attributions . toString ( ) ) ) ; } else { mPlaceAttribution . setText ( "" ) ; } }
callback invoked when a place has been selected from the placeautocompletefragment .
