-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
error(R.drawable.xxxx) and placeholder(R.drawable.xxxx) do not work in glide #5404
Comments
In the Glide library version 4.14.2, there is an issue with the method
The conditional check See the static method
|
Fix PR: #5447! |
Glide Version: 4.11.0
Integration libraries:
Device/Android Version: any devices
Issue details / Repro steps / Use case background:
I am using Glide in dfm and save the image in the drawble folder so that an error image is displayed when the image load fails as shown below.
If the resource id value of R.drawable.xxxxx is a negative integer, it will not operate. If it is a positive integer, it will operate normally.
Are you separately checking the validity of the errorId value saved in the above function?
The text was updated successfully, but these errors were encountered: