@Override
 public void onResume() {
   super.onResume();
   if (Utils.isConnectedToInternet()) {
     mDetailedPresenterImp.fetchTrailers(mId);
     mDetailedPresenterImp.fetchReviews(mId);
   } else {
     if (!Utils.isLandscape() && !Utils.isTablet()) {
       Toast.makeText(getActivity(), "INTERNET LOST", Toast.LENGTH_LONG).show();
     }
   }
 }
  @Nullable
  @Override
  public View onCreateView(
      LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    super.onCreateView(inflater, container, savedInstanceState);

    // inject this activity's dependencies
    ((App) getActivity().getApplication()).getDaggerComponent().inject(this);

    mView = inflater.inflate(R.layout.fragment_detailed, container, false);
    ButterKnife.bind(this, mView);

    if (savedInstanceState != null) {
      mMovie = savedInstanceState.getParcelable(PARAMS_MOVIE);
    }

    if (mMovie != null) {
      Log.d(TAG, "movie is not null in detail fragment.");
      Picasso.with(getContext()).load(Utils.getImageUrl(mMovie.getPosterPath())).into(mImageView);

      mTitle.setText(mMovie.getTitle());

      mReleaseDate.setText("Release date: " + mMovie.getReleaseDate());

      mVoteAverage.setText("Average vote: " + Math.round(mMovie.getmVoteAverage()) + "/10");

      mOverview.setText("Plot Synopsis: " + mMovie.getOverview());

      mMarkFavorite.setVisibility(View.VISIBLE);
    } else {
      Log.d(TAG, "movie is null in detail fragment.");
      mTitle.setText("Nothing has been selected yet");
    }
    return mView;
  }