Does Android-Universal-Image-Loader support Asset folder?
See original GitHub issueHi nostra13,
I was going to use this lib in my project, but after some searches, I couldn’t figure out how to use this lib to load images from assets folder, even when I used "file:///android_asset/… , it didn’t work.
mImageLoader.displayImage("file:///android_asset/" + path,
iv, Const.displayImageOptions,
new SimpleImageLoadingListener()
{
@Override
public void onLoadingComplete(Bitmap loadedImage) {
Animation anim = AnimationUtils
.loadAnimation(mContext, R.anim.fade_in);
iv.setAnimation(anim);
anim.start();
}
});
If it’s possible, could you provide me some code? or even if I have to customized some code myself, please let me know how to do it.
Thanks in advance and sorry for my bad English 😃
Issue Analytics
- State:
- Created 11 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Images not loading from assets folder using Universal Image ...
This is my configuration: //Get the imageloader. ImageLoader imageLoader = ImageLoader.getInstance(); //Create image options.
Read more >Loading Large Bitmaps Efficiently - Android Developers
You can use these libraries in your app to load images in the most optimized manner. We recommend the Glide library, which loads...
Read more >imoblife / Android-Universal-Image-Loader Download - JitPack
This project aims to provide a reusable instrument for asynchronous image loading, caching and displaying. It is originally based on Fedor Vlasov's project...
Read more >How to Use Glide Image Loader Library in Android Apps?
But it is not kind of a problem since Android Support Library v4 is ... error placeholder image if it was unable to...
Read more >Simple File Browser [Open Source] | Page 2 - Unity Forum
Are there any way to get only the android external path from your script ... UI objects but file browser does support world...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
assets://...
scheme is supported out of box nowCan I use subfolders in assets folder? like this assets://images/test.png