We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
log :Data is not in GIF format
code: public void display(String uri,Bitmap bitmap, ImageAware imageAware, LoadedFrom loadedFrom) {
if(!uri.endsWith(".gif")) imageAware.setImageBitmap(bitmap); else{ File file = DiscCacheUtils.findInCache(uri, ImageLoader.getInstance().getDiscCache()); try { Lg.e("file=============" + file.getAbsolutePath() + "---------" + file.exists()); GifDrawable gf = new GifDrawable(file); imageAware.setImageDrawable(gf); } catch (IOException e) { e.printStackTrace(); } }} }
The text was updated successfully, but these errors were encountered:
It's not a bug. GifDrawable supports GIF files only as the name suggests.
Sorry, something went wrong.
No branches or pull requests
log :Data is not in GIF format
code: public void display(String uri,Bitmap bitmap, ImageAware imageAware, LoadedFrom loadedFrom) {
if(!uri.endsWith(".gif"))
imageAware.setImageBitmap(bitmap);
else{
File file = DiscCacheUtils.findInCache(uri, ImageLoader.getInstance().getDiscCache());
try {
Lg.e("file=============" + file.getAbsolutePath() + "---------" + file.exists());
GifDrawable gf = new GifDrawable(file);
imageAware.setImageDrawable(gf);
} catch (IOException e) {
e.printStackTrace();
}
}}
}
The text was updated successfully, but these errors were encountered: