enable animations for glide

This commit is contained in:
Andrew Dolgov 2017-06-04 11:05:48 +03:00
parent a3f47ebeab
commit 80ef85d1eb
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ public class GalleryImageFragment extends GalleryBaseFragment {
Glide.with(this)
.load(m_url)
.dontAnimate()
//.dontAnimate()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.skipMemoryCache(false)
.listener(new RequestListener<String, GlideDrawable>() {

View File

@ -58,7 +58,7 @@ public class GalleryVideoFragment extends GalleryBaseFragment {
Glide.with(this)
.load(m_coverUrl)
.dontAnimate()
//.dontAnimate()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.skipMemoryCache(false)
.listener(new RequestListener<String, GlideDrawable>() {

View File

@ -1194,7 +1194,7 @@ public class HeadlinesFragment extends Fragment {
Glide.with(HeadlinesFragment.this)
.load(article.flavorImageUri)
.dontAnimate()
//.dontAnimate()
.dontTransform()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.skipMemoryCache(false)