-
Notifications
You must be signed in to change notification settings - Fork 990
MBL-1420: Webp format now supported for animated gifs #2039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…, we needed to add some tweecks to the glide library to me able to render them
… into imartin/MBL-1420
return isFirstResource | ||
} | ||
}) | ||
.placeholder(ColorDrawable(Color.TRANSPARENT)) | ||
.diskCacheStrategy(DiskCacheStrategy.ALL) | ||
.diskCacheStrategy(DiskCacheStrategy.AUTOMATIC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
8000 The reason will be displayed to describe this comment to others. Learn more.
DiskCacheStrategy.AUTOMATIC intelligently chooses a cache strategy based on the resource & placeholder removed
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2039 +/- ##
============================================
- Coverage 67.86% 67.82% -0.05%
Complexity 2096 2096
============================================
Files 353 353
Lines 21539 21554 +15
Branches 3040 3043 +3
============================================
Hits 14618 14618
- Misses 5282 5295 +13
- Partials 1639 1641 +2 ☔ View full report in Codecov by Sentry. |
📲 What
WebpDrawableTransformation
to wrap the original BitmapTransformation when loading webp images with Glide request.🤔 Why
🛠 How
👀 See
Gifs loading! before there was a transparent rectangle presented (placeholder) when something was not loading right, or directly not appearing at all.
Gifs.mp4
| | |
📋 QA
Story 📖
MBL-1420