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
13
votes
5 answers

Check if Image is in Cache - Universal Image Loader

I guess the title says it all. I tried: imageLoader.getMemoryCache().get(key); with the image uri as key, but it always return null although I enabled caching in the config.
fweigl
  • 21,278
  • 20
  • 114
  • 205
12
votes
1 answer

Share Image element transition display incorrect size

I have a recycle view to show all photo thumbnail items. When click on item, I use transition for imageview in this item to Detail activity. The problem is that image source is gotten from internet by UIL. And sometime (not always) the images not…
12
votes
1 answer

Can Universal image loader for android work with images from sqlite db?

I would like to store my images in an sqlite db, in blob-s, and maybe encrypt them. Is it possible to use the Android-Universal-Image-Loader with images from an sqlite database?
Tamas
  • 1,765
  • 1
  • 16
  • 26
11
votes
2 answers

No field mMaxWidth in class Landroid/widget/ImageView

I used UniversalImageLoader (displayImage method) for loading image But it throws NoSuchFieldException exception : No field mMaxWidth in class Landroid/widget/ImageView; (declaration of 'android.widget.ImageView' appears in …
mohammad jalili
  • 187
  • 2
  • 10
11
votes
2 answers

UIL, Picasso - Images in adapter always reload when stop scrolling

I have ListView with text and large image from internet. My image item has fit width and wrap_content height. I tried to display image in background with UIL & Picasso. Both of them can work but the image always reloads when I stop scrolling, and…
ductran
  • 10,043
  • 19
  • 82
  • 165
11
votes
4 answers

Android Studio fail add libs Universal Image Loader

Android-Universal-Image-Loader(https://github.com/nostra13/Android-Universal-Image-Loader) is my favorite library. But it can't add libs when i use Android Studio(use 0.1.5 version). i know how to add libs in Android…
seapy
  • 878
  • 2
  • 13
  • 24
11
votes
5 answers

How can i just download image with universal-image-loader

as far as I know, universal-image-loader provide 2 kinds of methods to display images. imageLoader.loadImage and imageLoader.displayImage. But those 2 methods must bind to UI element to display. Can I just download files for cache in a thread (for…
scott
  • 435
  • 1
  • 5
  • 17
11
votes
7 answers

View Pager with Universal Image Loader Out of Memory Error

I am not really sure if a ViewPager with Universal Image Loader can/should be used as an alternate for a gallery like interface since I have run into an Out of Memory error while loading images from SD Card and viewing them in full screen mode. No…
11
votes
5 answers

Universal-Image-Loader: wrong Bitmaps are attached to ImageView

I've been evaluating NOSTRA's Universal-Image-Loader library to asynchronously download images and show them in ListView. So far it works fine except for one problem. Sometimes Bitmaps from memory cache get attached to wrong ImageViews when the…
Timur D.
  • 123
  • 1
  • 5
10
votes
2 answers

Universal Image loader fails to load images sometimes

I'm using universal image loader and I get quite large numbers of images failing to load for users every day. I'm using this code to get my errors to analytics. public void onLoadingFailed(String imageUri, View view, FailReason failReason) { …
Datenshi
  • 1,191
  • 5
  • 18
  • 56
10
votes
2 answers

Android GoogleMap 2 update information dynamically in InfoWindow with ImageView via Universal Image loader

I am working on new Google Map v2 API. I have used ImageLoader to display images dynamically on Marker. But the problem is when I have got onLoadingComplete() of Universal Image Loader, the ImageView is not invalidated neither automatically nor…
Nishant Shah
  • 3,442
  • 5
  • 25
  • 34
9
votes
2 answers

Android Universal Image Loader requests with same URL are being cancelled

I am trying to load images to the bitmaps using UIL. I need to load multiple images and I have noticed that in some cases image urls can be the same. And in such cases only first image is loaded. How to avoid request cancelling in UIL? Code is run 3…
Vadims Savjolovs
  • 2,618
  • 1
  • 26
  • 51
9
votes
6 answers

bitmap.copy() throws out of memory error

I am using universal-image-loader library to load images, but when I call copy() on a loaded bitmap file in some cases I get OutOfMemoryError. Here is my code: ImageLoader.getInstance().loadImage(path, new ImageLoadingListener() { …
user1940676
  • 4,348
  • 9
  • 44
  • 73
9
votes
2 answers

Loading images in GridView using Universal Image Loader

I'm using the Universal Image Loader 1.8.6 library for loading dinamically images taken from web. The ImageLoaderConfiguration configuration is the following: ImageLoaderConfiguration config = new…
9
votes
0 answers

How to use Universal image loader for video thumbnails listing in android?

I have one activity which has listing of video file contains in SD card. I want to display video thumbnails and video name. But when I try to load this activity it take too much time to load and list scrolling not very smooth. I want to use…
1
2
3
57 58