use of com.codeest.geeknews.model.bean.SectionListBean in project GeekNews by codeestX.
the class SectionPresenter method getSectionData.
@Override
public void getSectionData() {
Subscription rxSubscription = mRetrofitHelper.fetchSectionListInfo().compose(RxUtil.<SectionListBean>rxSchedulerHelper()).subscribe(new CommonSubscriber<SectionListBean>(mView) {
@Override
public void onNext(SectionListBean sectionListBean) {
mView.showContent(sectionListBean);
}
});
addSubscrebe(rxSubscription);
}
Aggregations