Commit 4bafac38 by sikang

bug fix

parent 9fdf9bea
......@@ -273,13 +273,7 @@ public class UploadPresenter extends BasePresenter<UploadApi> {
infoList.add(getApiService().uploadContact(new UploadCollectionBean(AppInfoUtils.getAndroidID(context), LoginManager.get().getMobile(), info)));
}
//开始上传,只上传一次,失败了忽略
handleRequest(action, Observable.zip(infoList, new Function<Object[], Boolean>() {
@Override
public Boolean apply(Object[] objects) throws Exception {
Log.d("sss","ssss");
return true;
}
}));
handleRequest(action, Observable.zip(infoList, objects -> true).onErrorReturn(throwable -> true));
return true;
})
.observeOn(AndroidSchedulers.mainThread())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment