Search in sources :

Example 1 with MediaServiceSearchTagProvider

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());
}
Also used : MediaServiceSearchTagProvider(com.liskovsoft.smartyoutubetv2.common.app.models.search.MediaServiceSearchTagProvider) VideoCardPresenter(com.liskovsoft.smartyoutubetv2.tv.presenter.VideoCardPresenter)

Aggregations

MediaServiceSearchTagProvider (com.liskovsoft.smartyoutubetv2.common.app.models.search.MediaServiceSearchTagProvider)1 VideoCardPresenter (com.liskovsoft.smartyoutubetv2.tv.presenter.VideoCardPresenter)1