Questions tagged [universal-image-loader]

Universal Image Loader is the open source library for Android which aims to provide a reusable instrument for asynchronous image loading, caching and displaying.

Project on GitHub

Features

  • Multithread image loading
  • Possibility of wide tuning ImageLoader's configuration (thread pool size, HTTP options, memory and disc cache, display image options, and others)
  • Possibility of image caching in memory and/or on device's file sysytem (or SD card)
  • Possibility to "listen" loading process
  • Possibility to customize every display image call with separated options
  • Widget support
865 questions
5
votes
2 answers

Is it possible to set ImageSize with displayImage ()?

I have a question regarding the https://github.com/nostra13/Android-Universal-Image-Loader library. I'm using imageLoader.displayImage(...) to load images from my database to imageviews, that are in a listview. The docs say this: ImageSize…
Tamas
  • 1,765
  • 1
  • 16
  • 26
5
votes
3 answers

Universal Image Loader UIL nostra out of memory error

I am using UIL to load remote images and fill up Fragments in FragmentStatePagerAdapter. I have read readme and usual errors but I can't solve out this bug. Here is the config: ImageLoaderConfiguration config = new…
5
votes
1 answer

Universal Image Loader did not apply the displayImageOptions in loadImage

Universal Image Loader did not apply the display image options in the imageLoader.loadImage This is my code DisplayImageOptions options = new DisplayImageOptions.Builder() .showStubImage(R.drawable.loading_image_background) …
5
votes
4 answers

Could not find class after update to android sdk 22

05-16 10:26:18.267: E/dalvikvm(12692): Could not find class 'com.nostra13.universalimageloader.core.ImageLoaderConfiguration$Builder', referenced from method com.test.app.ApplicationRoot.onCreate 05-16 10:26:18.267: W/dalvikvm(12692): VFY: unable to…
Tse Ka Leong
  • 408
  • 4
  • 20
5
votes
4 answers

Android Universal Image Loader - how do I set the specs correctly?

I have an app that loads a lot of big images remotely. When I use nostra's Universal Image Loader (https://github.com/nostra13/Android-Universal-Image-Loader) I often get Out Of Memory errors. I don't know how I should set up the imageloader to…
OriginalUtter
  • 619
  • 3
  • 15
  • 28
5
votes
2 answers

Accessing protected images in universal image loader

I am using the universal image loader in an app that needs to fetch images an authorized source. So far, I have extended the URLConnectionImageDownloader class with my own class, and overridden the method getStreamFromNetwork with my own…
FlashAsh80
  • 1,357
  • 1
  • 16
  • 27
5
votes
1 answer

Image isn't displayed in ImageViewZoom

I'd like to use ImageViewZoom with Universal Image Loader in ImagePagerActivity. So, what I did: I added imageviewtouch.jar to project classpath. In ImagePagerActivity I changed one line in instantiateItem() function. I commented line where is…
4
votes
0 answers

Error Too many open files in Universal Image Loader Sockets

Use the library Universal Image Loader when scroll often happens the following error A/art: art/runtime/indirect_reference_table.cc: 77] Check failed: table_mem_map_.get() = nullptr ashmem_create_region failed for 'indirect ref table': Too many open…
Marco Giovanni
  • 297
  • 7
  • 18
4
votes
2 answers

android universal image loader clear cache

i use universal image loader to load image from url this is adapter public class BinderDataImg extends BaseAdapter { static final String KEY_IMG = "img"; LayoutInflater inflater; List> imgHashmap; ViewHolder…
abcd1234
  • 219
  • 4
  • 16
4
votes
5 answers

How to avoid image flickering in a listview

I have a listivew that display a bunch of images. am using Universal Image Loader to load this images from files to imageviews. This images have different dimensions and i want all of them to have same width but different height in respect to each…
Edijae Crusar
  • 3,473
  • 3
  • 37
  • 74
4
votes
0 answers

Blur image using Universal Image Loader

I'm using Universal Image Loader and i want to blur the images.I was thinking about creating a class that i could use in xml to create the view ..something like :
AlinaBM
  • 243
  • 3
  • 12
4
votes
1 answer

Call method on subclass of imageLoader

I'm trying to call .evictAll() on the cache of my ImageLoader, I can't figure out how to access the method private VolleySingleton(){ mRequestQueue = Volley.newRequestQueue(VolleyApplication.getAppContext()); mImageLoader = new…
JTK
  • 1,469
  • 2
  • 22
  • 39
4
votes
5 answers

Picasso: Loading cached image from disk too much slow

So, I was starting my project and wants to use Picasso in my project because its popular and used by many projects out there. I included picasso using gradle and tried loading facebook profile url with this.…
Rohit
  • 2,538
  • 6
  • 28
  • 41
4
votes
1 answer

Universal image loader library is acting slow on Android 5.0 as compared to Android 4.4.4

I am using https://github.com/nostra13/Android-Universal-Image-Loader for loading images in my application. It was working fine till the time I was using Android 4.4.4 on my Nexus 5 but after upgrading my Android version to 5.0 I can feel that image…
4
votes
0 answers

Android: Universal Image Loader and ProgressBar on ViewPager not working

I have an adapter for a viewPgaer where I cache images with UIL on a ImageView. I never used a ProgressBar when loading an image and it is working just fine. I dicided to make and a progress bar but when I open the activity the progress bar is…