use of com.codekk.search.presenter.SearchPresenterImpl in project AndroidDevelop by 7449.
the class SearchFragment method initActivityCreated.
@Override
protected void initActivityCreated() {
FloatingActionButton mFAB = (FloatingActionButton) getActivity().findViewById(R.id.fa_btn);
mFAB.setOnClickListener(this);
showExplanation();
mPresenter = new SearchPresenterImpl(this);
mAdapter = new XRecyclerViewAdapter<>();
mRecyclerView.setHasFixedSize(true);
mRecyclerView.setLayoutManager(new StaggeredGridLayoutManager(Constant.RECYCLERVIEW_LISTVIEW, StaggeredGridLayoutManager.VERTICAL));
mRecyclerView.setAdapter(mAdapter.setLayoutId(R.layout.item_search).onXBind(this));
}
Aggregations