app/src/main/java/cn/flightfeather/thirdapp/activity/UploadMediaFilesActivity.java
@@ -25,7 +25,7 @@
import cn.flightfeather.thirdapp.CommonApplication;
import cn.flightfeather.thirdapp.R;
import cn.flightfeather.thirdapp.adapter.MediaFileListAdapter;
import cn.flightfeather.thirdapp.bean.Mediafile;
import cn.flightfeather.thirdapp.bean.entity.Mediafile;
import cn.flightfeather.thirdapp.task.CompressPhotoTask;
import okhttp3.MediaType;
import okhttp3.MultipartBody;
@@ -112,6 +112,7 @@
            mediaFileListCurrent.removeAll(mediaFileListCurrent);
            mediaFileListCurrent.addAll(mediaFileList2);
            photoTotal = mediaFileListCurrent.size();
            photoUploaded = 0;
            adapter.notifyDataSetChanged();
        }
    }
@@ -122,10 +123,11 @@
        pb_uploading.setMax(photoTotal);
        pb_uploading.setProgress(photoUploaded);
        tv_status.setText("压缩中...");
        uploadingDialog2 = uploadingDialog.show();
        if (uploadingDialog2 != null && !uploadingDialog2.isShowing()) {
            uploadingDialog2.show();
        } else {
            uploadingDialog2 = uploadingDialog.show();
        }
    }
    //开始上传
    public void startUplaod(List<File> outputFileList){