public void init() {
    mRowsAdapter = new ArrayObjectAdapter(new ListRowPresenter());
    setAdapter(mRowsAdapter);

    setBrandColor(getResources().getColor(R.color.primary));
    setBadgeDrawable(getResources().getDrawable(R.drawable.filmi));

    for (int position = 0; position < HEADERS.length; position++) {
      ObjectAdapter rowContents =
          new CursorObjectAdapter((new SinglePresenterSelector(new CardPresenter())));
      VideoDataManager manager =
          new VideoDataManager(
              getActivity(),
              getLoaderManager(),
              VideoItemContract.VideoItem.buildDirUri(),
              rowContents);
      manager.startDataLoading();

      HeaderItem headerItem = new HeaderItem(position, HEADERS[position], null);
      mRowsAdapter.add(new ListRow(headerItem, manager.getItemList()));
    }

    setOnItemViewClickedListener(getDefaultItemViewClickedListener());
    setOnItemViewSelectedListener(getDefaultItemSelectedListener());

    bgHelper = new BackgroundHelper(getActivity());
    bgHelper.prepareBackgroundManager();
  }
 @Override
 public void onStop() {
   bgHelper.release();
   super.onStop();
 }