Skip to content

Commit

Permalink
glide placeholder 对共享动画有影响
Browse files Browse the repository at this point in the history
  • Loading branch information
kaku2015 committed Aug 11, 2016
1 parent 2fcdcbd commit af32fc8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ private void loadPhotoIv() {
Glide.with(this)
.load(getIntent().getStringExtra(Constants.PHOTO_DETAIL))
.asBitmap()
.placeholder(R.color.image_place_holder)
.diskCacheStrategy(DiskCacheStrategy.ALL)
.listener(new RequestListener<String, Bitmap>() {
@Override
Expand Down Expand Up @@ -129,7 +128,6 @@ private void loadPhotoTouchIv() {
.load(getIntent().getStringExtra(Constants.PHOTO_DETAIL))
.asBitmap()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.placeholder(R.color.image_place_holder)
.error(R.drawable.ic_load_fail)
.into(mPhotoTouchIv);
}
Expand Down

0 comments on commit af32fc8

Please sign in to comment.