public void showPlace(PlaceViewModel placeViewModel) {
    this.placeViewModel = placeViewModel;
    nameTextView.setText(placeViewModel.getName());
    Picasso.with(getActivity())
        .load(placeViewModel.getPhoto())
        .placeholder(R.drawable.maps_placeholder)
        .into(photoImageView);
  }
public void showPlace ( PlaceViewModel placeViewModel ) { this . placeViewModel = placeViewModel ; nameTextView . setText ( placeViewModel . getName ( ) ) ; Picasso . with ( getActivity ( ) ) . load ( placeViewModel . getPhoto ( ) ) . placeholder ( R . drawable . maps_placeholder ) . into ( photoImageView ) ; }
Use the PlaceViewModel information to render the place name and the place image inside the
fragment