use of com.liskovsoft.smartyoutubetv2.common.app.models.search.MediaServiceSearchTagProvider in project SmartTubeNext by yuliskov.
the class SearchTagsFragment method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
// Real restore takes place in the presenter
super.onCreate(null);
mIsFragmentCreated = true;
mSearchPresenter = SearchPresenter.instance(getContext());
mSearchPresenter.setView(this);
mCardPresenter = new VideoCardPresenter();
mSearchGroupAdapters = new HashMap<>();
// mItemResultsAdapter = new VideoGroupObjectAdapter(mCardPresenter);
mSearchData = SearchData.instance(getContext());
setupEventListeners();
// setItemResultsAdapter(mItemResultsAdapter);
setSearchTagsProvider(new MediaServiceSearchTagProvider());
enableKeyboardAutoShow(mSearchData.isKeyboardAutoShowEnabled());
}
Aggregations