Skip to content

Commit

Permalink
bb
Browse files Browse the repository at this point in the history
  • Loading branch information
ltyhome committed Apr 4, 2019
1 parent 4196a36 commit c8032c4
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ public void onClick(View v) {
contentHolder.iv_picture.setImageResource(R.drawable.audio_placeholder);
} else {
RequestOptions options = new RequestOptions();
if (overrideWidth <= 0 && overrideHeight <= 0) {
options.sizeMultiplier(sizeMultiplier);
} else {
options.override(overrideWidth, overrideHeight);
}
// if (overrideWidth <= 0 && overrideHeight <= 0) {
// options.sizeMultiplier(sizeMultiplier);
// } else {
// options.override(overrideWidth, overrideHeight);
// }
options.diskCacheStrategy(DiskCacheStrategy.ALL);
options.centerCrop();
options.placeholder(R.drawable.image_placeholder);
Expand Down

0 comments on commit c8032c4

Please sign in to comment.