You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
myBody = new MyBody(requestBody, new MyBody.ProgressListener() { @Override public void onProgress(long currentBytes, long contentLength) { int current = new Long(currentBytes).intValue(); int total = new Long(contentLength).intValue(); if (seted) { numberProgressBar.setMax(total); //只设置一次最大值 seted = false; } numberProgress.setProgress(current); } }); mShow = builder.show();
The text was updated successfully, but these errors were encountered:
myBody = new MyBody(requestBody, new MyBody.ProgressListener() { @Override public void onProgress(long currentBytes, long contentLength) { int current = new Long(currentBytes).intValue(); int total = new Long(contentLength).intValue(); if (seted) { numberProgressBar.setMax(total); //只设置一次最大值 seted = false; } numberProgress.setProgress(current); } }); mShow = builder.show();
The text was updated successfully, but these errors were encountered: