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
6
votes
2 answers

RecyclerView Lazy Loading (Universal Image Loader)

Using Android Universal Image Loader and RecyclerView to asynchronously load images, I'm getting the same error as other people, where the images get mixed up; until they have all loaded an are cached. Code for the adapter: import…
6
votes
1 answer

Using Android-UIL, How to stop downloading?

I'm using UIL (by Nosotra) to download images that the server renders, and it takes the server up to 50 seconds to create each image. The server's timeout is set to 15 seconds, so we've created a polling mechanism that is implemented in the…
Felix
  • 1,034
  • 1
  • 9
  • 29
6
votes
2 answers

Listview reloading already loaded images using Universal image loader

In my Android project I am showing all images from web service(Url) to ListView for this purpose I have used Universal image loader. After loaded some images in List if I scrolled down then scrolled Up,The already loaded images are reloading again. …
Jamal
  • 976
  • 2
  • 14
  • 39
6
votes
4 answers

Resizing Bitmap after Loading it with Universal Image Loader

I am loading an image with Universal Image Loader, and I'd like to scale it so that the width is the width of the screen and the height is scaled accordingly, meaning that before I load the image I know the width that I want, but not the height. So…
shadowarcher
  • 3,265
  • 5
  • 21
  • 33
6
votes
1 answer

Universal Image Loader Fade In From Black?

I am using Universal Image Loader to "lazy load" my images from the web. Is it possible to use the fade in animation but fade in "from black" instead of "from white"? My app has a black background and I'd like it to smoothly fade it as opposed to…
Eric
  • 1,014
  • 2
  • 13
  • 22
6
votes
1 answer

Sharing cached images using FileProvider

I have an app that uses Universal Image Loader to download photos from the internet, cache them to data/data/com.myapp/cache and display in ImageViews. I also wanted to add sharing (WhatsApp, Facebook, Instagram, Dropbox etc.) to my app, so I tried…
6
votes
4 answers

Gridview - Click image to view image in Viewpager

This is a gridview that get image from json. and it works fine. I want to click image in this gridview to show full image and can slide it. I find the solution of this problem is used Viewpager. how can I click image in gridview to show image and…
kongkea
  • 9,788
  • 12
  • 39
  • 49
6
votes
2 answers

Image Zoom Issue with Universal Image Loader and View Pager

I'd like to use ImageViewZoom with Universal Image Loader in ImagePagerActivity. I am able to zoom the image, Swipe to the next image. But i am facing problem when image is in Zoom position. if an image is zoomed and i am at center position, if i…
wolverine
  • 1,665
  • 5
  • 24
  • 43
5
votes
2 answers

Android: Universal Image Loader Load Large Image

I need to load large image which has 2450 x 2450 pixels dimensions. Bitmap bitmap = ImageLoader.getInstance().loadImageSync(url, ImageConfig.getImageOptions()); The problem is, on low end device (phone with less than 1 GB RAM), got out of…
user2341387
  • 303
  • 1
  • 5
  • 14
5
votes
1 answer

Universal image loader give error image can't be decoded android

I use universal image loader in girdview. Some of videos are fine to change image and some are not work and give error like that, 03-17 12:49:52.287: D/skia(21755): --- SkImageDecoder::Factory returned null 03-17 12:49:52.287: E/ImageLoader(21755):…
Halo
  • 729
  • 1
  • 8
  • 18
5
votes
3 answers

CenterCrop is not working in universal image loader : Android

i am currently using Universal Image Loader 1.9.3 and initialize it as, DisplayImageOptions defaultOptions = new DisplayImageOptions.Builder().displayer(new RoundedBitmapDisplayer(100)).cacheOnDisc().build(); ImageLoaderConfiguration.Builder…
Mayur R. Amipara
  • 1,223
  • 1
  • 11
  • 32
5
votes
1 answer

ImageView with bitmaps downloaded from URL (repeat tile mode)

Is there any easy way to tile bitmap downloaded from URL on ImageView? Preferably using Picasso or UniversalImageLoader. I was thinking about getting image from Picasso cache and draw on canvas, but maybe there is more elegant way? Thanks, Bartek.
5
votes
2 answers

Android Universal Image Loader URI from InputStream

i want to ask about UIL which the URI input from InputStream. Because my image source from ZIP and then i must extract it to show that image. Because the image is too big, i must use the UIL library, anybody know how to insert UIL from InputStream.
user915003
  • 53
  • 1
  • 6
5
votes
0 answers

Universal imageloader OutOfMemory Error

I know this link alreday post this question -Universal-Image-Loader: OutOfMemory Error But Lot Of Images arising problem OutOfMemoryError I m using below protected ImageLoader imageLoader = ImageLoader.getInstance(); DisplayImageOptions options =…
Sanket990
  • 665
  • 1
  • 10
  • 22
5
votes
2 answers

Is it possible to display video thumbnails using Universal Image Loader, and how?

I am experimenting with using Universal Image Loader (https://github.com/nostra13/Android-Universal-Image-Loader) for displaying video thumbnails in a grid view. I'm able to get it to show image thumbnails with no problems. How I initialize UIL in…
Daniel Gabriel
  • 3,939
  • 2
  • 26
  • 37