use of org.mazhuang.guanggoo.data.task.GetNodesCloudTask in project guanggoo-android by mzlogin.
the class NodesCloudPresenter method getNodesCloud.
@Override
public void getNodesCloud() {
mView.startLoading();
NetworkTaskScheduler.getInstance().execute(new GetNodesCloudTask(new OnResponseListener<List<NodeCategory>>() {
@Override
public void onSucceed(List<NodeCategory> data) {
mView.stopLoading();
mView.onGetNodesCloudSucceed(data);
}
@Override
public void onFailed(String msg) {
mView.stopLoading();
mView.onGetNodesCloudFailed(msg);
}
}));
}
Aggregations