use of cn.nicolite.palm300heroes.presenter.HeroSkinPresenter in project Palm300Heroes by nicolite.
the class HeroSkinFragment method doBusiness.
@Override
protected void doBusiness() {
lRecyclerView.setLayoutManager(new LinearLayoutManager(context, OrientationHelper.VERTICAL, false));
lRecyclerViewAdapter = new LRecyclerViewAdapter(new SkinAdapter(context, dataList));
lRecyclerView.setAdapter(lRecyclerViewAdapter);
lRecyclerView.setLoadMoreEnabled(false);
heroSkinPresenter = new HeroSkinPresenter(this, this);
lRecyclerView.setOnRefreshListener(new OnRefreshListener() {
@Override
public void onRefresh() {
heroSkinPresenter.showSkin(unCode, true);
}
});
}
Aggregations