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

Combining CoverFlow and Universal Image Loader

I'm using fancyCoverFlow and universalImageLoader to display my custom 3D gallery :D something like below picture. My problem is it's not showing images when downloaded unless I swipe between the Gallery pictures and that picture hide from screen…
Amir
  • 16,067
  • 10
  • 80
  • 119
8
votes
2 answers

Repetition of image while scrolling in Android grid view using Universal Image Loader

I am trying to load images from the Internet using Universal Image Loader on a gridview using the below code. public View getView(int position, View converView, ViewGroup parent) { Log.v("Description", "Description is " + position); …
Saty
  • 2,563
  • 3
  • 37
  • 88
8
votes
2 answers

Universal Image Loader gridview blinks after notifyDataSetChanged call

I'm using UIL with this config to load image from FILEs: BitmapDisplayer displayer = new FadeInBitmapDisplayer(500) { @Override public Bitmap display(Bitmap bitmap, ImageView imageView, LoadedFrom loadedFrom) { …
Lingviston
  • 5,479
  • 5
  • 35
  • 67
8
votes
3 answers

Universal Image Loader: Can I use cache but also refresh it?

I'm loading dynamically generated images so I always want them to be up to date. But they take time to load so I also want to display a cached version while the updated one doesn't come. How can I do this with Universal Image Loader? More…
Victor Basso
  • 5,556
  • 5
  • 42
  • 60
8
votes
6 answers

Android-Universal-Image-Loader doesn't keep loaded images on scroll in gridview

I am using Android-Universal-Image-Loader library to load a remote pictures to ImageView in my GridView cells. Here the the imageLoader configurations: new ImageLoaderConfiguration.Builder(Config.context) .threadPriority(Thread.NORM_PRIORITY -…
John F
  • 685
  • 1
  • 8
  • 18
8
votes
2 answers

Universal image loader - clear cache manually

I'm using Universal Image Loader to display images in my app in listviews. I'm using UnlimitedDiscCache since this is the fastest cache mechanism according to the documentation. However, I would like to clear the disc cache when my app is closed…
jeff_bordon
  • 392
  • 4
  • 16
8
votes
2 answers

Black Background on image loaded with univerisal image loader

As shown below. The first image is the default image linked at http://goldentrail.towardstech.com/assets/images/membersimage/buttons/eat.png. while the second image below it is the image that is loaded using uil This is the imageloader…
ericlee
  • 2,703
  • 11
  • 43
  • 68
7
votes
1 answer

Find and load cached Image in Glide

I am new in glide and want to migrate my app from universalimageloader to glide. I want to convert cached image from the disk into image file, and show it into an ImageView. When I use universalimageloader, I can do it easily with this way: File…
ikhsanudinhakim
  • 1,554
  • 16
  • 23
7
votes
2 answers

Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 27830 (ple.myfragexample) -- only on Android 4.1.2

I am using FragmentActivity in my application with several Fragments. Each of these fragments hold an image and some text with animation. When user swipes on the screen, the fragment changes. Now I have been working on this since 10 days and have…
7
votes
1 answer

How set custom downloader in Universal Image Loader?

how to set my custom downloader? I cannot see a Builder method to change the downloader class. I want use Google HTTP Client library and I have a subclass ready, like this: import…
Vinz486
  • 103
  • 8
7
votes
2 answers

Universal Image Loader keep ratio

I have an imageView with width:match_parent and height:wrap_content. I want the image with full width and keep the ratio for the height. I follow this link (https://github.com/nostra13/Android-Universal-Image-Loader/pull/62) who say to set…
FUBUs
  • 617
  • 5
  • 9
7
votes
2 answers

Universal Image Loader cache

I'm trying to integrate Universal Image Loader into my Android App. It has a GridView and shows images acquired from internet. I implemented it using ArrayAdapter which loads images in getView() in a usual way. It works well in terms of displaying…
KSJ
  • 71
  • 1
  • 1
  • 3
7
votes
3 answers

How can I resize a picture before displaying it in a view with Android Universal Image Loader?

I successfully applied the Universal Image Loader library (1.8.3 version) to my app, and I'm trying to resize the image before displaying it in the gridview item (because sometime image is too big to cache it in memory.) Here is what I am…
John F
  • 685
  • 1
  • 8
  • 18
7
votes
4 answers

FileNotFoundException with Universal Image Loader

This question is about this popular Android library, Universal Image Loader for Android: https://github.com/nostra13/Android-Universal-Image-Loader I made sure WRITE_EXTERNAL_STORAGE is added. I enabled both memory and disk cache I used…
Di Wu
  • 6,436
  • 3
  • 35
  • 51
7
votes
5 answers

Android ListView Universal Image Loader Changes Images on Scroll

I have a problem that's been giving me grief for weeks now. I forgot about it for a while when I was updating to the new Facebook SDK, but now it's back to haunt my dreams. I'm making basically a Facebook feed reader. It gets the JSON data from an…
Wenger
  • 989
  • 2
  • 12
  • 35
1 2
3
57 58