Search in sources :

Example 1 with TagAdapter

use of com.liskovsoft.smartyoutubetv2.tv.adapter.vineyard.TagAdapter in project SmartTubeNext by yuliskov.

the class SearchTagsFragmentBase method onCreate.

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mProgressBarManager = new ProgressBarManager();
    mResultsPresenter = new CustomListRowPresenter();
    mResultsAdapter = new ArrayObjectAdapter(mResultsPresenter);
    mSearchTagsAdapter = new TagAdapter(getActivity(), "");
    setSearchResultProvider(this);
    setupListeners();
}
Also used : TagAdapter(com.liskovsoft.smartyoutubetv2.tv.adapter.vineyard.TagAdapter) ProgressBarManager(com.liskovsoft.smartyoutubetv2.tv.ui.mod.leanback.misc.ProgressBarManager) ArrayObjectAdapter(androidx.leanback.widget.ArrayObjectAdapter) CustomListRowPresenter(com.liskovsoft.smartyoutubetv2.tv.presenter.CustomListRowPresenter)

Aggregations

ArrayObjectAdapter (androidx.leanback.widget.ArrayObjectAdapter)1 TagAdapter (com.liskovsoft.smartyoutubetv2.tv.adapter.vineyard.TagAdapter)1 CustomListRowPresenter (com.liskovsoft.smartyoutubetv2.tv.presenter.CustomListRowPresenter)1 ProgressBarManager (com.liskovsoft.smartyoutubetv2.tv.ui.mod.leanback.misc.ProgressBarManager)1