| | |
| | | .centerCrop() |
| | | .placeholder(R.color.app_color_f6) |
| | | .diskCacheStrategy(DiskCacheStrategy.ALL) |
| | | .thumbnail(0.25f) |
| | | .into(viewHolder.mImg); |
| | | } |
| | | |
| | |
| | | ? fileStates.get(media.getRealPath()) |
| | | : fileStates.get(media.getCompressPath()); |
| | | if (uplodFileState != null) { |
| | | MyLog.d("progressRequestBodyHolder>>>" + "path:" + uplodFileState.getFilePath() + ">>>position:" + position); |
| | | uplodFileState.setAdapterPosition(position); |
| | | MyLog.d("progressRequestBodyHolder>>>" + "State:" + uplodFileState.getState() + ">>>position:" + position + ">>>Progress: " + uplodFileState.getProgress()); |
| | | |
| | |
| | | viewHolder.maskLayerBg.setVisibility(View.VISIBLE); |
| | | viewHolder.circleProgressView.setVisibility(View.VISIBLE); |
| | | viewHolder.circleProgressView.setProgress(uplodFileState.getProgress()); |
| | | |
| | | } else { |
| | | viewHolder.circleProgressView.setVisibility(View.GONE); |
| | | viewHolder.maskLayerBg.setVisibility(View.GONE); |