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