@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (getArguments() != null) {
      mParamSortBy = getArguments().getString(ARG_SORT_BY);
    }

    if (mParamSortBy == null || mParamSortBy.length() == 0) {
      mParamSortBy = MainActivity.getContext().getString(R.string.api_value_sort_by_popularity);
      // mParamSortBy = MainActivity.getContext().getString(R.string.api_value_sort_by_rating);

      Log.i(LOG_TAG, "Just set default sort by param to " + mParamSortBy);
    }

    mMovieListContent = new MovieListContent(this, mParamSortBy);

    mAdapter = new PosterListAdapter(getActivity().getBaseContext());
    mAdapter.addAll(MovieListContent.ITEMS);
    mMovieListContent.setAdapter(mAdapter);
  }
 public void changeSortBy(String sortBy) {
   Log.i(LOG_TAG, "Changing sort by to " + sortBy);
   mMovieListContent.readAndDisplayData(sortBy);
 }