use of org.mazhuang.guanggoo.data.task.GetTopicDetailTask in project guanggoo-android by mzlogin.
the class TopicDetailPresenter method getTopicDetail.
@Override
public void getTopicDetail() {
mView.startLoading();
NetworkTaskScheduler.getInstance().execute(new GetTopicDetailTask(getUrl(), new OnResponseListener<TopicDetail>() {
@Override
public void onSucceed(TopicDetail data) {
mView.stopLoading();
mView.onGetTopicDetailSucceed(data);
}
@Override
public void onFailed(String msg) {
mView.stopLoading();
mView.onGetTopicDetailFailed(msg);
}
}));
}
Aggregations