Searched refs:mBrowseAdapter (Results 1 – 3 of 3) sorted by relevance
38 private BrowseAdapter mBrowseAdapter; field in FavoritesFragment54 mBrowseAdapter = new BrowseAdapter(this, mRadioController.getCurrentProgram(), in onViewCreated()57 mBrowseAdapter.setOnItemClickListener(mRadioController::tune); in onViewCreated()58 mBrowseAdapter.setOnItemFavoriteListener(this::handlePresetItemFavoriteChanged); in onViewCreated()62 mBrowseList.setAdapter(mBrowseAdapter); in onViewCreated()71 if (!isVisibleToUser && mBrowseAdapter != null) { in setUserVisibleHint()72 mBrowseAdapter.removeFormerFavorites(); in setUserVisibleHint()
38 private BrowseAdapter mBrowseAdapter; field in BrowseFragment55 mBrowseAdapter = new BrowseAdapter(this, mRadioController.getCurrentProgram(), in onViewCreated()58 mBrowseAdapter.setOnItemClickListener(mRadioController::tune); in onViewCreated()59 mBrowseAdapter.setOnItemFavoriteListener(this::handlePresetItemFavoriteChanged); in onViewCreated()63 mBrowseList.setAdapter(mBrowseAdapter); in onViewCreated()68 mRadioController.getProgramList().observe(this, mBrowseAdapter::setProgramList); in onViewCreated()
75 private BrowseAdapter mBrowseAdapter; field in BrowseFragment212 mBrowseAdapter.submitItems(null, null); in resetState()246 mBrowseAdapter = new BrowseAdapter(mBrowseList.getContext()); in BrowseFragment()247 mBrowseList.setAdapter(mBrowseAdapter); in BrowseFragment()248 mBrowseAdapter.registerObserver(mBrowseAdapterObserver); in BrowseFragment()251 mBrowseAdapter.setRootBrowsableViewType(hint)); in BrowseFragment()253 mBrowseAdapter.setRootPlayableViewType(hint)); in BrowseFragment()270 mBrowseAdapter.submitItems(null, null); in BrowseFragment()279 mBrowseAdapter.submitItems(getCurrentMediaItem(), items); in BrowseFragment()