use of com.codeest.geeknews.model.bean.NodeBean in project GeekNews by codeestX.
the class NodePresenter method getTopInfo.
@Override
public void getTopInfo(String node_name) {
Subscription rxSubscription = mRetrofitHelper.fetchNodeInfo(node_name).compose(RxUtil.<NodeBean>rxSchedulerHelper()).subscribe(new CommonSubscriber<NodeBean>(mView) {
@Override
public void onNext(NodeBean nodeBean) {
mView.showTopInfo(nodeBean);
}
});
addSubscrebe(rxSubscription);
}
Aggregations