-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override placeholder/error/fallback equivalents when id or drawable i…
…s set. Glide will always check for a placeholder/error/fallback drawable first and only check the id equivalents if the drawable is null. Previously, when setting a placeholder/errror/fallback id on a RequestOptiosn object, we did not unset the drawable equivalents. As a result, it wasn't previously possible to replace a placeholder/error/fallback drawable by setting the equivalent id. After this change any calls to placeholder/error/fallback will always replace previous calls, regardless of whether and id or drawable is provided. Fixes #3068. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195990546
- Loading branch information
Showing
2 changed files
with
357 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.