enable animations for glide
This commit is contained in:
parent
a3f47ebeab
commit
80ef85d1eb
@ -57,7 +57,7 @@ public class GalleryImageFragment extends GalleryBaseFragment {
|
|||||||
|
|
||||||
Glide.with(this)
|
Glide.with(this)
|
||||||
.load(m_url)
|
.load(m_url)
|
||||||
.dontAnimate()
|
//.dontAnimate()
|
||||||
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
||||||
.skipMemoryCache(false)
|
.skipMemoryCache(false)
|
||||||
.listener(new RequestListener<String, GlideDrawable>() {
|
.listener(new RequestListener<String, GlideDrawable>() {
|
||||||
|
@ -58,7 +58,7 @@ public class GalleryVideoFragment extends GalleryBaseFragment {
|
|||||||
|
|
||||||
Glide.with(this)
|
Glide.with(this)
|
||||||
.load(m_coverUrl)
|
.load(m_coverUrl)
|
||||||
.dontAnimate()
|
//.dontAnimate()
|
||||||
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
||||||
.skipMemoryCache(false)
|
.skipMemoryCache(false)
|
||||||
.listener(new RequestListener<String, GlideDrawable>() {
|
.listener(new RequestListener<String, GlideDrawable>() {
|
||||||
|
@ -1194,7 +1194,7 @@ public class HeadlinesFragment extends Fragment {
|
|||||||
|
|
||||||
Glide.with(HeadlinesFragment.this)
|
Glide.with(HeadlinesFragment.this)
|
||||||
.load(article.flavorImageUri)
|
.load(article.flavorImageUri)
|
||||||
.dontAnimate()
|
//.dontAnimate()
|
||||||
.dontTransform()
|
.dontTransform()
|
||||||
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
||||||
.skipMemoryCache(false)
|
.skipMemoryCache(false)
|
||||||
|
Loading…
Reference in New Issue
Block a user