You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened
I want to load gif images that stored locally. I get the drawable based on the name of the file. when try to load with glide it's crash with the logcat below.
If i access to the file with R.drawable.anygif then it's working fine.
With GlideApp.load(getDrawable(mContext, "filename")), In the logcat it says Failed to find any ModelLoaders for model BitmapDrawable, but BitmapDrawable is a subclass of Drawable then it would be better if this can be load as well.
With GlideApp.load(getDrawable(mContext, "filename")), If i use it in placeholder then gif not working ( just an image ).
Any idea?
Glide load line / GlideModule (if any) / list Adapter code (if any): Working
Suggestion
The original issue is still there; it would be great if Glide can add the model so BitmapDrawable can be loaded.
I will keep this thread open so that we can track the original issue; otherwise, if found that Glide won't need to support BitmapDrawable then feel free to close this.
Glide Version: com.github.bumptech.glide:glide:4.2.0
Integration libraries: No
Device/Android Version: Samsung
What happened
I want to load gif images that stored locally. I get the drawable based on the name of the file. when try to load with glide it's crash with the logcat below.
If i access to the file with R.drawable.anygif then it's working fine.
With GlideApp.load(getDrawable(mContext, "filename")), In the logcat it says Failed to find any ModelLoaders for model BitmapDrawable, but BitmapDrawable is a subclass of Drawable then it would be better if this can be load as well.
With GlideApp.load(getDrawable(mContext, "filename")), If i use it in placeholder then gif not working ( just an image ).
Any idea?
Glide load line /
GlideModule
(if any) / list Adapter code (if any):Working
Not Working
Working but gif not play, just an image
Helper
Stack trace / LogCat:
The text was updated successfully, but these errors were encountered: