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
4
votes
1 answer

ImageView loading high resolution image as very poor quality

I am using a ListFragment to display a ListView of Lazy Loaded ImageView objects using the Android Universal Image Loader. The correct data is coming from my datasource and I have the URL to my fairly high resolution images (about 1000px wide,…
4
votes
1 answer

Where is the cache folder of the Universal ImageLoader?

The caching of my Universal ImageLoader seems not working. I'm wondering where the folder of the cache is. I found there is a folder in my sdcard: data->data->id of my app->cache->uil-images But it's empty. Here is my code: …
Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
4
votes
1 answer

ImageView doesn't stretch image properly

So I have no clue why this is happening. I am using Universal Image Loader to load these images. It seems like the last line of pixels is being streched for some weird reason. I want the image to just stretch out evenly. (I don't care that it will…
Sree
  • 2,727
  • 3
  • 29
  • 47
4
votes
2 answers

Set Background of RelativeLayout with downloaded Image with Universal Image Loader

I would like to set an image (downloaded from internet) as my Relative Layout's background with transparent attribute. Below is what I am having in my layout.xml file:
4
votes
4 answers

is it possible to download images from cache memory in picasso?

I was using UniversalImageDownloader for my app.in UIL we can save images from cache memory. File cachedImage = ImageLoader.getInstance().getDiscCache().get(imageUrl); if (cachedImage.exists()) {// code for save 2 sd …
Asthme
  • 5,163
  • 6
  • 47
  • 65
4
votes
2 answers

ListView scrolling using UniversalImageDownloader not smooth

I am using a ListView containing images. These images are loaded from the Internet inside the adapter. Therefore I am using the UniversalImageDownloader. Unfortunately the scrolling of the ListView "lags" for a short time as soon as I scroll down…
4
votes
1 answer

Display images from Drawable folder using Universal Image Loader

I want to load image from Drawable folder using Universal Image Loader (NOSTRA my code is below imgLoader = ImageLoader.getInstance(); imgLoader.init(new ImageLoaderConfiguration.Builder(this).build()); Now i am loading image in wallImage…
user2567369
4
votes
2 answers

FragmentStatePagerAdapter OutOfMemoryError

I'm running into OutOfMemoryErrors in an app that I'm working on and I'm having difficulty figuring out how to fix it and what exactly the issue is. I'm using the FragmentStatePagerAdapter, since that seemed like the best/recommended alternative.…
4
votes
2 answers

Android universal image loader showing images partially

I have a gallery which is using Android universal image loader. Problem is that the images are just partially shown, like half of the image, sometimes no image, but sometimes the image is shown whole. DisplayImageOptions options = new…
Krivers
  • 1,986
  • 2
  • 22
  • 45
4
votes
2 answers

Universal Image Loader for external storage files

Hello I use Universal Image Loader to load images from the device , now it works, but if the file path contains a "space character" the image does not get displayed and log records show that there is a FileNotFoundException . I tried to open the…
user4o01
  • 2,688
  • 4
  • 39
  • 54
4
votes
1 answer

How to load thumbnail with Universal Image Loader for Android?

I am using this lib: https://github.com/nostra13/Android-Universal-Image-Loader I want to load an image thumbnail into an ImageView using the lib. What content uri can I pass into: imageLoader.displayImage(imageUri, imageView); //? The docs give an…
timothyjc
  • 2,188
  • 3
  • 29
  • 54
4
votes
1 answer

Why am I getting nullpointer in onMeasure in GridView

I'm getting a nullpointer exception when I try to set images in a gridview using Universal Image Loader. The crash happens just as the first image is downloaded and exactly one image is downloaded before the application crashes. (Checked with…
Qw4z1
  • 3,041
  • 1
  • 24
  • 36
4
votes
4 answers

Universal image loader not work

I'm a beginning programmer. I'm trying use Universal image loader to display images parsed from site, but it is not work. What am I doing wrong? Thanks. This is a test programm. package com.example.imageloader; public class MainActivity extends…
Azat-777
  • 95
  • 1
  • 10
4
votes
1 answer

How to display only cache memory images in ViewPager using Universal Image Loader Android?

I want to display only those images that were loaded into cache memory once we downloaded from url using Universal Image Loader Example I have 15 URLS to download image and display inViewPager, but out of them only 5 were downloaded and i closed the…
moDev
  • 5,248
  • 4
  • 33
  • 63
4
votes
1 answer

Preloading some images for listview with UniversalImageLoader

I am using Sergey Tarasevich's library Universal Image Loader in my Android project to load images into a ListView. At the moment I am loading my pictures in the getView() method in my adapter and everything works as expected. The problem is I want…
Qw4z1
  • 3,041
  • 1
  • 24
  • 36