Search in sources :

Example 1 with SearchAdapter

use of com.gh4a.adapter.SearchAdapter in project gh4a by slapperwan.

the class SearchFragment method onCreateAdapter.

@Override
protected RootAdapter<Object, ? extends RecyclerView.ViewHolder> onCreateAdapter() {
    mAdapter = new SearchAdapter(getActivity(), this);
    mAdapter.setMode(mSelectedSearchType);
    return mAdapter;
}
Also used : SearchAdapter(com.gh4a.adapter.SearchAdapter)

Aggregations

SearchAdapter (com.gh4a.adapter.SearchAdapter)1