repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
nostra13androiduniversalimageloader
imageloader loadimagesync do not load image to cache
Bug
when try to use imageloader loadimagesync to precache image I notice that ioutil shouldstoploade cancel download prematurely by way of loadanddisplayimagetask onbytescopie which call through to loadanddisplayimagetask fireprogressevent I assume that fireprogressevent cancel because a progress listener doesn t make sense in a synchronous download but of course that shouldn t cancel the entire download I think the line if syncloade istaskinterrupte istasknotactual return false would make more sense in onbytescopie than in fireprogressevent or be I miss something
nostra13androiduniversalimageloader
decode the hashed image file name
Question
hi I be load cache image from the app cache dir use uil these image be from different domain url when I want to show the image from cache disk I would need to filter image to show only those that be download from specific domain url be there a way to decode the file name to get back the original url from where it be originate from and then prepare the array to have only those relate cache image welcome other workaround as well to solve my requirement with uil
nostra13androiduniversalimageloader
nullpointerexception
Bug
java java lang nullpointerexception at com nostra13 universalimageloader cache disc impl ext lrudisccache get sourcefile 124 at com nostra13 universalimageloader core imageloaderengine 1 run sourcefile 72 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1119 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 612 at java lang thread run thread java 1050
nostra13androiduniversalimageloader
store the image to local
Question
do this library have a method to store the image from internet to sdcard if have what be it
nostra13androiduniversalimageloader
thank you
Question
first my english be not good I hope you can understand what I mean thank you for your open source code I m a newbie for andriod I just a chinese student you can provide some kind of learn method for android
nostra13androiduniversalimageloader
about the image path in sdcard
Question
hello nostra13 thank for your library it s very great right now I have an issue when I display an image from internet I save it in sdcard via set cacheondisc true but how can I get the image file path in the sdcard do the image actually save in sdcard as a file thank you very much
nostra13androiduniversalimageloader
load center of a large image in a little imageview
Question
in imageloader 1 8 4 it be possible to load a center part of a large image in a image view it take the center of the image automatically and drawne it in the imageview now I would like to do an update to the new version of imageloader in imageloader version 1 9 1 the upper region of the large image will be crop and fill in the imageviev not the center region my method for load a image content imagepath into an imageview imageview public static void setimagefile string imagepath final imageview imageview final bitmapfactory option optionss new bitmapfactory option options insamplesize 2 imageview setscaletype scaletype center crop final displayimageoption displayimageoption new displayimageoption builder resetviewbeforeloade false imagescaletype imagescaletype exactly stretch bitmapconfig bitmap config rgb 565 decodingoption optionss displayer new roundedbitmapdisplayer 20 define a rounded displayer considerexifparam true define if image be portrait or landscape build imageview setvisibility view visible try imageloader getinstance displayimage imagepath imageview displayimageoption catch final exception e e printstacktrace the imageview have the attribute android scaletype centercrop how can I provoke that the picture in the imagepath will be crop in its center and draw in the imageview it seem to be impossible any recommendation thank lukas
nostra13androiduniversalimageloader
need bitmap size parameter
Question
in my application I just set the height and width of the container of imageview about imageview I set width height be match parent I don t know what be the size of the bitmap whether it be equal to the size of the container of the imageview or not sometimes on some device 2 2 2 3 with the low memory I need the bitmap size be small than the actual size of imageview for well processing so I need the parameter width height when call imageloader getinstance displayimage could you implement this for we thank a lot
nostra13androiduniversalimageloader
auto retry download image
Question
first will uil auto retry download image if ioexception happen load it one more time if yes will it be more sensible on onloadingfaile string imageuri view view failreason failreason about add http response code and retry count just use for statistic in detail
nostra13androiduniversalimageloader
continue load image to memory cache
Question
hello I have list with more than 100 image url to load in listview be any way to continue download image when visible image view complete to load a btimap I mean to wait for visible image will be load first and after preload another image to memory cache and of course pause continue download for other image when user scroll to another image view that doesn t have load bitmap yet p s I very appreciate your work its really great
nostra13androiduniversalimageloader
why not use recycle to these unused bitmap
Question
on android 2 3 3 api level 10 and low the backing pixel datum for a bitmap be store in native memory it be separate from the bitmap itself which be store in the dalvik heap the pixel datum in native memory be not release in a predictable manner potentially cause an application to briefly exceed its memory limit and crash on android 2 3 3 api level 10 and low use recycle be recommend if you re display large amount of bitmap datum in your app you re likely to run into outofmemoryerror error the recycle method allow an app to reclaim memory as soon as possible below be the snippet from your lrumemorycache java file if the previous null why don t we recycle this bitmap public final void remove string key if key null throw new nullpointerexception key null synchronize this bitmap previous map remove key if previous null size sizeof key previous so I want to know that why don t you use recycle to those bitmap remove from hashmap hope you can answer my question thank you very much
nostra13androiduniversalimageloader
I have some quetion
Question
hi I have some question about auil first dose auil support network session keep alive how can I use that feature second can I cache a image over a specific size image resolution or file size
nostra13androiduniversalimageloader
ioutil copystream should invoke os flush
Question
if os instanceof bufferedoutputstream without invoke os flush no ioexception will be throw if there be really a ioexception
nostra13androiduniversalimageloader
limitedagedisccache for different display task
Question
hello I have a small question be it possible that each display task have a different lifetime for the cache currently the lifetime of the cache be configure to be the same for every display task thank
nostra13androiduniversalimageloader
I have a question
Question
I have clone this repository import both library and sample project and I find that displayimageoption builder have the method name cacheondisk in branch master but not in the branch new disk cache api 20140504001645 20140504001722 and the late universal image loader 1 9 2 snapshot with source jar in the sample project and the universal image loader 1 9 1 jar out there on the readme md seem to be export by the master branch without cacheondisk method while the sample project still call this cacheondisk method during initiate the displayimageoption object 20140504003210 20140504003138 so when I import the sample project use master branch it turn out there be some compile error new disk cache api use cacheondisc method so there isn t any problem 20140504003053 20140504003659 maybe it s not big deal but it confuse I thank for reading and sorry for my bad english I m not a native speaker wish your reply thank
nostra13androiduniversalimageloader
nullpointer exception at imageloaderengine
Bug
hi I receive report about crash on acer a501 android 3 2 1 uil vresion 1 9 1 java lang nullpointerexception at java util arraylist arraylistiterator next arraylist java 579 at com nostra13 universalimageloader core imageloaderengine 1 run imageloaderengine java 72 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1081 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 574 at java lang thread run thread java 1020
nostra13androiduniversalimageloader
task be interrupt
Question
recently I be use the release 1 9 1 of uil in my project and my tester feed back repeatedly that image didn t show up when the app be start first time but it s ok when the app be start or finish afterwards then I check the log and logcat show that task be interrupt and then I find the interruptedexception segment in the source code and the original code be java return true if task should be interrupt false otherwise private boolean waitifpause atomicboolean pause engine getpause synchronize pause if pause get log log wait for resume try pause wait catch interruptedexception e l e log task interrupt memorycachekey return true log log resume after pause return checktaskisnotactual return true if task should be interrupt false otherwise private boolean delayifneed if option shoulddelaybeforeloading log log delay before load option getdelaybeforeloade memorycachekey try thread sleep option getdelaybeforeloade catch interruptedexception e l e log task interrupt memorycachekey return true return checktaskisnotactual return false this code segment be in loadanddisplayimagetask of com nostra13 universalimageloader core so in what situation will this exception be throw out bad link speed of internet low memory in the device busy cpu or anything else
nostra13androiduniversalimageloader
strictmode violation onreadfromdisk
Bug
hi first of all thank you for that nice library very easy to use I think I find a problem in the library when I init the imageloaderconfiguration the strictmode raise a violation 3780 3780 com nostra13 example universalimageloader d strictmode strictmode policy violation duration 10 ms android os strictmode strictmodediskreadviolation policy 63 violation 2 at android os strictmode androidblockguardpolicy onreadfromdisk strictmode java 1108 at libcore io blockguardo open blockguardo java 106 at java io file createnewfile file java 933 at com nostra13 universalimageloader util storageutil getexternalcachedir storageutil java 130 at com nostra13 universalimageloader util storageutil getcachedirectory storageutil java 70 at com nostra13 universalimageloader util storageutil getcachedirectory storageutil java 52 at com nostra13 universalimageloader core defaultconfigurationfactory createdisccache defaultconfigurationfactory java 76 at com nostra13 universalimageloader core imageloaderconfiguration builder initemptyfieldswithdefaultvalue imageloaderconfiguration java 566 at com nostra13 universalimageloader core imageloaderconfiguration builder build imageloaderconfiguration java 545 at com nostra13 example universalimageloader uilapplication initimageloader uilapplication java 75 at com nostra13 example universalimageloader uilapplication oncreate uilapplication java 44 at android app instrumentation callapplicationoncreate instrumentation java 1014 at android app activitythread handlebindapplication activitythread java 4225 at android app activitythread access 1300 activitythread java 140 at android app activitythread h handlemessage activitythread java 1288 at android os handler dispatchmessage handler java 99 at android os looper loop looper java 137 at android app activitythread main activitythread java 4895 at java lang reflect method invokenative native method at java lang reflect method invoke method java 511 at com android internal os zygoteinit methodandargscaller run zygoteinit java 994 at com android internal os zygoteinit main zygoteinit java 761 at dalvik system nativestart main native method I try it on your sample example and it s look like the problem come from the method getexternalcachedir context context in storageutil class there be a disk access on the mainthread
nostra13androiduniversalimageloader
cache image with extension
Question
be there any way to cache the image include the extension in the on loading complete I would like to set a onclicklistener to open the image with a intent to view or share it in any way possible
nostra13androiduniversalimageloader
thumbnail image for large image
Question
I have a gridview that will load huge image when load to grid I can load small image s by set up cacheondisc true and disccacheextraoption 408 306 compressformat jpeg 75 null this will create an image of 408x306 in disk cache but when I select an image in the view and open the image in a viewpager the cache image will be use but what if I want to load the image that fit the display size default device screen dimension be there any way to achieve this
nostra13androiduniversalimageloader
no log show no disccache file
Question
hi there recently I be use the release 1 8 6 of uil I be confuse of the cache mechanism of uil or I just use the wrong configuration do uil cache bitmap in memory and disc at the same time or when memory be low bitmap be cache in disc because I didn t see anything in my disc cache directory meanwhile I didn t see any logging about read bitmap from memory or disc or internet then my imageloaderconfiguration be like this below java imageloaderconfiguration config new imageloaderconfiguration builder getapplicationcontext taskexecutor asynctask thread pool executor taskexecutorforcachedimage asynctask thread pool executor threadpoolsize 10 threadpriority thread norm priority 2 denycacheimagemultiplesizesinmemory memorycache new lrumemorycache 2 1024 1024 memorycachesize 2 1024 1024 disccache new unlimiteddisccache cachedir disccachesize 10 1024 1024 disccachefilecount 50 disccachefilenamegenerator new hashcodefilenamegenerator denycacheimagemultiplesizesinmemory writedebuglog build could you answer I immediately
nostra13androiduniversalimageloader
one uncertainty on single inheritance in universal image loader
Question
recently I be read the source code of universal image loader and I find an interesting question on inheritance in java we know that the multiple inheritance be not allow in java java designer replace the concept of multiple inheritance by that of interface in the release 1 9 1 of universal image loader the interface call blockingdeque in the package of com nostra13 universalimageloader core assist deque extend two parent class blockingqueue and deque but eclipse do t show any wrong information about it so I be confused about it do someone else ever notice this
nostra13androiduniversalimageloader
error handling when image loading fail for certain link google change their scheme
Question
so google change policy recently where the traditional s2 photo profile userid link no long work be there any simple way to catch and handle such error typically I want to catch just these kind of error to rewrite the logic in the app and change the url to the new require scheme use the google plus rest api to get the a new link and replace the original link with the new one I m not see anything in the doc and I m too lazy to read through the source right now
nostra13androiduniversalimageloader
how I display image from datum datum pakagename image name
Question
how I display image from datum datum pakagename image name
nostra13androiduniversalimageloader
can I suppress 03 03 23 07 26 984 e imageloader 2031 java io filenotfoundexception
Question
I have a game which allow user to define an avatar image with gravatar www gravatar com I don t know ahead of time if the user have define one so I just try and load it if it fail I have this fallback option set showimageonfail r drawable default avatar shape I do get a lot of error in the console for each fail attempt like 03 03 23 07 26 984 e imageloader 2031 java io filenotfoundexception can I wrap a catch or something to suppress these I ve try but can t seem to catch it string imageuri emailhash s 100 default 404 imageloader getinstance displayimage imageuri imageview thank for any advice
nostra13androiduniversalimageloader
obtain dimension for bitmap from imageview drawable
Question
hi I have an imageview define as follow in my layout when I then use the uil to resize a camera image to put into the imageview it scale the bitmap incorrectly as the getwidth and getheight of the imageview return 0 if it be to however use int targetwidth imageview getdrawable getintrinsicwidth int targetheight imageview getdrawable getintrinsicheight would it be possible for you to add this behaviour in as it then save I have to explicity set size android automatically pick the correct src thumbnail for the device base on the screen resolution many thank
nostra13androiduniversalimageloader
be there any way to detect if image loader be busy
Question
thank for your awesome library for performance I d like to load some image url into the cache first when the loader be free be there any way to detect if image loader be busy or not thank
nostra13androiduniversalimageloader
why not use lrucache for memorycache
Question
thank you for your awesome library but I have a question about the memory cache in the library I find the default memorycache be the self implement lrumemorycache above gingerbread version or lrulimitedmemorycache below do any reason that don t use lrucache which google recommend the same question about disc cache why not disklrucache the default memory cache have not lock to make sure exactness of the memory limit be it minded to speech set or get procedure
nostra13androiduniversalimageloader
one call to displayimage provoc two call to server
Question
before anything I want to personally thanks you for this great lib uil version 1 9 1 code java private displayimageoption mdisplayimageoption new displayimageoption builder imagescaletype imagescaletype in sample power of 2 showimageonfail r drawable no graph available build myloadimagefunction imageloader getinstance displayimage url imageview mdisplayimageoption new simpleimageloadinglistener override public void onloadingstarte string imageuri view view d onloadingstarte stringutil isblank imageuri blank imageuri loadui setgraphisloade true override public void onloadingfaile string imageuri view view failreason failreason d onloadingfaile imageuri loadui setgraphisloade false override public void onloadingcomplete string imageuri view view bitmap loadedimage d onloadingcomplete imageuri loadui setgraphisloade false private void loadui setgraphisloade boolean value int loading value view visible view go int do value view visible view go mrootview findviewbyid r i d imageview setvisibility do mrootview findviewbyid r i d loading setvisibility loading logcat extract myloadimagefunction 1x onloadingstarte 1x onloadingcomplete 1x my web proxy show 2 call one after the other to the same url 1st finish at seconde x next start at the same second both call take 1sec approx behavior of prior version uil 1 8 6 also send double request but be close the 1st connection when open the 2sd so the 1st request fail with uil 1 9 1 both request success
nostra13androiduniversalimageloader
call overlap each other
Question
when I change the focus of a listview about 10 time then current activity would crash this condition happen repeatedly and the log say below 02 10 17 43 57 260 e trace 23192 error open trace file no such file or directory 2 02 10 17 43 57 560 w imageloader 23192 disccache disccachesize and disccachefilecount call overlap each other and my configuration be java imageloaderconfiguration config new imageloaderconfiguration builder getapplicationcontext taskexecutor asynctask thread pool executor taskexecutorforcachedimage asynctask thread pool executor threadpoolsize 5 threadpriority thread norm priority 2 denycacheimagemultiplesizesinmemory memorycache new weakmemorycache memorycachesize 2 1024 1024 disccache new unlimiteddisccache cachedir disccachesize 10 1024 1024 disccachefilecount 50 enablelogge build could you tell I why and how could I correct it
nostra13androiduniversalimageloader
download progess
Question
could you add it I only find save to disc process handler
nostra13androiduniversalimageloader
imagedownloader like this
Question
bremj can you create image downloader like this
nostra13androiduniversalimageloader
gallery be not support above api level 16
Question
in your code gallery above api level 16 be not support as it be be depreciate by google so please update code accordingly
nostra13androiduniversalimageloader
static method to cancel all request for a give context
Question
be there a static method that cancel all request associate with a certain context
nostra13androiduniversalimageloader
imageloadingprogresslistener onprogressupdate total 1
Bug
in my app imageloadingprogresslistener onprogressupdate the total 1 but the current be correct
nostra13androiduniversalimageloader
refresh cache
Question
I know cache feature be nicely support by this library but in my implementation I need to replace the old cache with the late one download from the same url so everytime I call imageloader displayimage if cache exist it will display the cache but at the same time it also download from the image url to replace it with the late because the image from the same url be change frequently eg from cctv image
nostra13androiduniversalimageloader
cancel display task result in incomplete image be cache on disk
Bug
I have a single imageview on which the user can swipe left or right to navigate through a collection of image view one at a time the user be able to swipe to the next image before the current image be finish load if this happen then the prior display task be cancel however if the user then swipe back to the prior image the image be show immediately from cache however it be incomplete the top part of the image be correct but the bottom part be miss fill grey partial so my question be how can I clear this incomplete image out of the cache so that imageloader will grab it from the network or equivalently how can I prevent incomplete image from be cache in the first place here be my configuration option java option decodingoption new option decodingoption insamplesize 3 decodingoption inpreferredconfig config rgb 565 displayimageoption displayoption new displayimageoption builder cacheinmemory false cacheondisc true decodingoption decodingoption bitmapconfig config rgb 565 build
nostra13androiduniversalimageloader
support desktop java
Question
hi I think to use universal image loader with java desktop application on javafx it would be very nice to use you great library not only with android could you please find such support thank
nostra13androiduniversalimageloader
bitmap too large to be upload into a texture
Bug
hi nostra13 I m get a bitmap too large to be upload into a texture 2592x1944 max 2048x2048 as well and I m use 1 9 1 I can load the image in landscape but not in portrait use the same layout in my application java imageloaderconfiguration config new imageloaderconfiguration builder getapplicationcontext build imageloader getinstance init config in my activity java imageloader m imageloader imageloader getinstance displayimageoption m option new displayimageoption builder showimageonloade r drawable image loading resource or drawable showimageforemptyuri r drawable image error resource or drawable showimageonfail r drawable image error resource or drawable build
nostra13androiduniversalimageloader
round image view with no border
Question
hi I successfully use your library which I must say be a great one I be use roundedbitmapdisplayer class to give my image a radius be it possible to create a border around the image use your library
nostra13androiduniversalimageloader
q how to resize an image with a constant height while keep the aspect ratio
Question
hello I m use uil heck I m love it and I wonder how to achieve the following use case I have an horizontal layout that hold 3 image from unknown dimension I want my layout to be exactly 128dp high and my image be resize while keep the aspect ratio so the layout could be like this img1 img2 img3 all the three image be from different aspect ratio I want the imageview to be resize accordingly to my constraint the height be 128dp by uil the trick of course be that I don t know what be the image size before they be download by uil be there a way to achieve that use the exist listener or the android width wrap content the wrap content doesn t work at the moment
nostra13androiduniversalimageloader
access mimetype
Question
I try pass in decodeoption to retrieve outmimetype but the library make a copy so the out property don t make it to my reference whichever way I need to also determine the mimetype of an image
nostra13androiduniversalimageloader
verify remote image change etag if modify since
Question
hello in this post you say that you could check if the etag have be modify and delete the picture or not the problem be that this method be call when a new connection be open if you want to always check if the image have be modify to show the one in the cache and if a new update have taike modification how could we thank
nostra13androiduniversalimageloader
q why there be warning about image size
Question
my app be build with support library v4 appcompat v7 and late uil from maven I load and display my image by use imageloader displayimage everything look fine except the countless warning like this w iamgeloader height w iamgeloader width I try to set the layout of the view do not seem to be helpful be there anything wrong with my code or with my image
nostra13androiduniversalimageloader
memory can not be release when there be a background service
Question
I add some feature to show in uilsample this service in the same default process xml image
nostra13androiduniversalimageloader
problem put an image on disccache manually and retrieve this later
Question
I m have trouble add a local image to the disk cache manually the reason be that I have a local photo and I need to upload this but since I know the url result I want to cache this immediately I m use imageloader getinstance getdisccache put imageurl new file tempfileuri but this doesn t work because when I use the line below the file return null file thumb disccacheutil findincache imageurl imageloader getinstance getdisccache
nostra13androiduniversalimageloader
strictmode explicit termination method close not call
Bug
nexus 4 kitkat 12 12 11 34 49 186 29631 29645 e strictmode a resource be acquire at attached stack trace but never release see java io closeable for information on avoid resource leak java lang throwable explicit termination method close not call at dalvik system closeguard open closeguard java 184 at java io fileinputstream fileinputstream java 80 at java io fileinputstream fileinputstream java 105 at com nostra13 universalimageloader core download baseimagedownloader getstreamfromfile baseimagedownloader java 142 at com nostra13 universalimageloader core download baseimagedownloader getstream baseimagedownloader java 78 at com nostra13 universalimageloader core decode baseimagedecoder getimagestream baseimagedecoder java 83 at com nostra13 universalimageloader core decode baseimagedecoder decode baseimagedecoder java 69 at com nostra13 universalimageloader core loadanddisplayimagetask decodeimage loadanddisplayimagetask java 307 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 253 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 128 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at java lang thread run thread java 841
nostra13androiduniversalimageloader
processing bitmap before it be display
Question
hi I be use universal image loader library 1 8 6 version and it be work smoothly however I have some requirement where I have to resize image before display it so I be use follow code java imagesize targetsize new imagesize 100 100 imageloader loadimage imageuri targetsize displayoption new simpleimageloadinglistener override public void onloadingcomplete string imageuri view view bitmap loadedimage set bitmap as a background to imageview and at the same time I want the image with rounded corner so I use option roundedbitmapdisplayer in displayimageoption displayer but it do not give I round image I just get the square image with size 100x100 I want to re size the image first and then display it in a round shape also I want to save this rounded image in memory cache and disc cache as well so I don t need to do these operation again for same image be there any way to achieve this any help will be appreciate thank a lot
nostra13androiduniversalimageloader
possible memory waste outofmemoryerror with solution
Bug
hi I be use this library since 3 day and use the dump profile of eclipse I find that if application use imageloader in a surfaceview there could be a possible memory waste this be the dump in my app duplicate string 9 516 384 total byte waste instead of 192 total byte top element include 94 420 asset use always image png 480x320 u0000 u0000 u000 96 byte 4 709 asset use less image png 480x320 u0000 u0000 u0000 96 byte the real problem be in com nostra13 universalimageloader core imageloaderengine and exactly in java void preparedisplaytaskfor imageaware imageaware string memorycachekey cachekeysforimageaware put imageaware getid memorycachekey step to reproduce 1 create a view that extend surfaceview and create the surfacethread class 2 insert the follow code in surfacethread class to draw the image java private static final int frame delay 50 private volatile boolean requeststop private long executiontime sleeptime public synchronize void requeststop this requeststop true public surfacethread super this setname surfacethread override public void run while requeststop canvas canvas null random rnd new random try executiontime systemclock elapsedrealtime canvas surfaceholder lockcanvas synchronize lock drawing bitmap bmp imageloader getinstance loadimagesync asset always use image png canvas drawbitmap bmp 0 0 null if rnd nextint 100 90 bmp imageloader getinstance loadimagesync asset less use image png canva drawbitmap bmp 0 0 null catch exception ex if buildconfig debug will enter if the bitmap load be null but will crash for outofmemoryerror log e gamethread ex tostre ex finally if canvas null surfaceholder unlockcanvasandpost canvas sleeptime frame delay systemclock elapsedrealtime executiontime try if sleeptime 0 thread yield thread sleep sleeptime catch interruptedexception e 3 in eclipse click device update heap 4 in eclipse click device dump hprof file 5 in dump check for top component or leak suspect 6 repeat step 4 to 6 every 30 second 7 you will notice an increase in memory for the object cachekeysforimageaware
nostra13androiduniversalimageloader
darktwitchy
Question
how to I load image on a pageviewer and that can be call to page by an array
nostra13androiduniversalimageloader
edit image before cache
Question
be there any way to edit the image somehow for example add a watermark to the image right before it be cache so that each time the view gridview in my case refresh itself the watermark be not add again and again in the instantiateitem method of the adapter that add lag to the whole process optional read I be scramble the picture just like a jigsaw puzzle that be take use my camera app they be store on the sd card but because of the scrambling the user can not use the picture from the gallery and he be force to use my app which de scramble the image on runtime and show the right image to the user this process let I offer a free to try model for my app and the picture can be use outside if the user pay up for the app the problem be everything work fine except in the gridview for the gallery what happen be every time an image be select use a long press for edit etc the gridview refresh itself and all the image reload and be therefore decrypt again this add additional lag to the loading and the overall user experience deteriorate be there any way I can just decrypt the image before cache they so that this do not happen
nostra13androiduniversalimageloader
be there any method to save a bitmap to both cache
Question
I have encounter an issue right away in which I need to update user profile for which I be use this library when user update his her profile this should be reflect right away but due to server limitation its not happen one work around come into my mind if I could save bitmap directly to memory and disk cache be there any method to do so
nostra13androiduniversalimageloader
delete the specified cache
Question
when I want to delete the specify cache I write this code java public void clearcache string uri imageview imageview imagesize targetsize imagesizeutil definetargetsizeforview new imageviewaware imageview getmaximagesize string memorycachekey memorycacheutil generatekey uri targetsize imageloader getmemorycache remove memorycachekey file file imageloader getdisccache get uri if file null file delete imagesize getmaximagesize displaymetric displaymetric context getresource getdisplaymetric int width maximagewidthformemorycache if width 0 width displaymetric widthpixel int height maximageheightformemorycache if height 0 height displaymetric heightpixel return new imagesize width height could you provide a similar interface in imageloader java
nostra13androiduniversalimageloader
html imagegetter
Question
hi thank for your library I have a small question be there a way to set uil as loader for html imagegetter I can t figure out how to mix they
nostra13androiduniversalimageloader
load from sd card
Question
if I want to load image from sd card what should I do thank you
nostra13androiduniversalimageloader
exif support for non cache or memory only cache image
Question
in issuecomment 17120841 you note that exif rotation be only support if disc cache be enable be there any plan to add this for other cache mode
nostra13androiduniversalimageloader
show text on image
Question
hi I have an transparent image as a default image in my listview and I want to set some text on it how can I achieve this
nostra13androiduniversalimageloader
why application object get create twice on android
Question
use uil code in application as follow java public class uilapplication extend application initimageloader getapplicationcontext public static void initimageloader context context this configuration tuning be custom you can tune every option you may tune some of they or you can create default configuration by imageloaderconfiguration createdefault this method imageloaderconfiguration config new imageloaderconfiguration builder context threadpriority thread norm priority 2 denycacheimagemultiplesizesinmemory disccachefilenamegenerator new md5filenamegenerator tasksprocessingorder queueprocessingtype lifo writedebuglog remove for release app build initialize imageloader with configuration imageloader getinstance init config however on some specific circumstance the application object in android get create twice like this
nostra13androiduniversalimageloader
be it possible to create limited disk cache size with size more than 4 gb
Question
integer maxvalue be 2 31 1 which be nearly 4 gb but current device can have much more memory
nostra13androiduniversalimageloader
how can I get cache image path for particular url
Question
I can not process bitmap in webview so I want that cache image path in onloadingcomplated or else where I be get bitmap but I have to save in memory card temporary and will have to load through that path suppose I be load from with cache on disc configuration and if I want cached image path of this url then how can I get I want to display image in webview webview will not cahe my image I want to cache image with image loader and want to display in webview can you provide cache image path also
nostra13androiduniversalimageloader
object instantiateitem not call
Question
public object instantiateitem view view int position method not call when I swap back from first to zero postion
nostra13androiduniversalimageloader
listview gridview blink after notifydatasetchange get call
Bug
hello nostra13 I m use you library inside listview gridview I load datum to adapter just once but if I call notifydatasetchanged then all image start reload I m use memory cache and resetimageview option I think that reset option be a reason but if I disavle it then I ll see old image of reuse view before uil will display new one
nostra13androiduniversalimageloader
be there an example somewhere for disable log
Question
I be get numerous exception message for image that aren t find on the network resource I would like to shut off the exception log message for this for my app this be acceptable as each user backend configuration be different some might have image available some not and some might be a mix of the two
nostra13androiduniversalimageloader
imagedecod bug
Bug
where imagedecod defineimagesizeandrotation code imagestream mark imagestream available bitmapfactory decodestream imagestream null option imagestream reset not work for url
nostra13androiduniversalimageloader
question can I add custom progress bar for image loading
Question
be there a way to show custom progress bar while the image be load
nostra13androiduniversalimageloader
add ability to use different instance of imageloader with different configuration
Question
some of my adatper use the baseimagedownloader but one need a different imagedownloader currently it s impossible because there be only one instance of imageloader either add the ability to specify an imagedownloader with displayimage or the ability to instantiate multiple imageloader
nostra13androiduniversalimageloader
when call notifydatasetchange image view refresh
Bug
when call notifydatasetchange image view refresh reload all the image in android grid view
nostra13androiduniversalimageloader
bitmap displayer issue from memory
Bug
if we set displayer to roundedbitmapdisplayer in option first time we get round bitmap in imageloadinglistener but second we be get bitmap from memory which not round I think follow code should be in imageloader displayimage string uri imageview imageview displayimageoption option imageloadinglistener listener option getdisplayer display bmp imageview loadedfrom memory cache listener onloadingcomplete uri imageview bmp like this listener onloadingcomplete uri imageview option getdisplayer display bmp imageview loadedfrom memory cache can please confirm thank
nostra13androiduniversalimageloader
what be the cause of largumentexception cachedir argument must be not null
Bug
I look into the code and I think file cachedir storageutil getcachedirectory context be return null what would be the cause be it device relate two user get this exception with our new release that be use universal image v1 8 6
nostra13androiduniversalimageloader
how to implement loading of image similar to that of google play app use uil
Question
first of all million of thank for develop such an awesome library it not only ease our task but also provide a knowledge on how to develop or write open source library I want to thank you from bottom of my heart for create this library with all your hardwork dedication and knowledge I just start use this library and I have implement it on my listview while scroll up and down the listview I notice very very small time to load already cache image fiy this time be very very very small pic1 pic2 when I scroll up and down I do see the loading preview but when I use google play app after image have be load and I scroll up and down I don t see any more loading screen pic3 pic4 so my question be how to achieve that use uil meaning once the image have be download and cache what should I do properly to configure uil to show cache image without any loading screen once I scroll down and up after image have be dowloade the image be properly load without any loading screen so far follow be my configuration java on application file public static displayimageoption option new displayimageoption builder cacheinmemory true cacheondisc true bitmapconfig bitmap config rgb 565 showimageonloade null imagescaletype imagescaletype exactly stretch resetviewbeforeloading true build public static void initimageloader context context imageloaderconfiguration config new imageloaderconfiguration builder context threadpriority thread norm priority 2 denycacheimagemultiplesizesinmemory threadpoolsize 5 memorycache new lrumemorycache 2 1024 1024 memorycachesize 2 1024 1024 disccachefilenamegenerator new md5filenamegenerator taskexecutor asynctask thread pool executor disccache new unlimiteddisccache storageutil getcachedirectory context disccachesize 50 1024 1024 disccachesize 200 tasksprocessingorder queueprocessingtype lifo build imageloader getinstance init config and on adapter class java imageloader imageloader imageloader getinstance override public view getview int position view convertview viewgroup parent holder holder if convertview null holder new holder normal inflating and stuff convertview settag holder else holder holder convertview gettag imageloader displayimage imageurl holder productimageview mainapplication option animatefirstlistener imageloader displayimage imageurl1 holder userimageview mainapplication option animatefirstlistener return convertview private static class animatefirstdisplaylistener extend simpleimageloadinglistener static final list displayedimage collection synchronizedlist new linkedlist override public void onloadingcomplete string imageuri view view bitmap loadedimage if loadedimage null imageview imageview imageview view boolean firstdisplay displayedimage contain imageuri if firstdisplay fadeinbitmapdisplayer animate imageview 500 displayedimage add imageuri I have also try this java on adapter class bitmap bitmap imageloader getmemorycache get imageurl if bitmap null imageloader getdisccache get imageurl exist if bitmap null bitmap bitmapfactory decodefile imageloader getdisccache get imageurl getpath if bitmap null holder productimageview setimagebitmap bitmap else imageloader displayimage imageurl holder productimageview mainapplication option animatefirstlistener bitmap bitmap1 imageloader getmemorycache get imageurl1 if bitmap1 null imageloader getdisccache get imageurl1 exist if bitmap1 null bitmap bitmapfactory decodefile imageloader getdisccache get imageurl1 getpath if bitmap null holder userimageview setimagebitmap bitmap else imageloader displayimage imageurl1 holder userimageview mainapplication option animatefirstlistener but do this I will eventually get outofmemory exception so be there any way I can achieve the image loading mechanism as find on google play app any direction would be great
nostra13androiduniversalimageloader
be it the bug that the image datum be not incomplete when urlconnect read time out
Bug
hi thank you for great work I be use this library the version 1 8 6 but I find the problem it may download incomplete image datum and write they into a cache file this will cause show a incomplete image in imageview and because it be cache I have to delete the cached file manually and re download it if want to show perfect image when download and cache image datum with loadanddisplayimagetask downloadimage if my network be slow and this may cause java net sockettimeoutexception read time out so ioutil copystream be os can not write complete datum into os save file successfully and throw exception but unfortunately loadanddisplayimagetask trycacheimageondisc do not process this exception it only catch it and return uri so the parent invoke loadanddisplayimagetask tryloadbitmap can not catch it and do not know there be incomplete image datum it seem that it should add catch ioexception e l e e fireimageloadingfailedevent failtype io error e if imagefile exist imagefile delete into downloadimage function also to delete cache file at this time it seem this be bug or do my mistake cause it tks
nostra13androiduniversalimageloader
something go wrong with v1 8 6
Bug
I be use v1 8 4 it be work fine and code be java try file cachedir storageutil getowncachedirectory getactivity constant cache dir displayimageoption defaultoption new displayimageoption builder cacheondisc imagescaletype imagescaletype exactly bitmapconfig bitmap config rgb 565 build imageloaderconfiguration builder builder new imageloaderconfiguration builder getactivity defaultdisplayimageoption defaultoption disccache new unlimiteddisccache cachedir memorycache new weakmemorycache tasksprocessingorder queueprocessingtype fifo imageloaderconfiguration config builder build imageloader imageloader imageloader getinstance imageloader init config return imageloader catch exception e e printstacktrace when I update just cacheondisc true java try file cachedir storageutil getowncachedirectory getactivity constant cache dir displayimageoption defaultoption new displayimageoption builder cacheondisc true imagescaletype imagescaletype exactly bitmapconfig bitmap config rgb 565 build imageloaderconfiguration builder builder new imageloaderconfiguration builder getactivity defaultdisplayimageoption defaultoption disccache new unlimiteddisccache cachedir memorycache new weakmemorycache tasksprocessingorder queueprocessingtype fifo imageloaderconfiguration config builder build imageloader imageloader imageloader getinstance imageloader init config return imageloader catch exception e e printstacktrace but it s not load all image around 25 image be be load it work with v1 8 4 but in v1 8 6 it stop load after 3 or 5 image
nostra13androiduniversalimageloader
do the library check for an update image
Question
if cache be enable do the library check the url for an update image or do it always use the cache image
nostra13androiduniversalimageloader
imageview reuse error
Bug
I be get a loading cancel due to reuse of imageview I be use the loadimage call with no imageview be use so that I can get the bitmap return ie java imageloader loadimage imageuri new simpleimageloadinglistener override public void onloadingcomplete string imageuri view view bitmap loadedimage do whatever you want with bitmap shouldn t this always return the image and not have the loading cancel
nostra13androiduniversalimageloader
loading cancel problem
Bug
I m try to use imageloader to just get load image for processing without display it into view so I decide to use loadimage function but the problem be that onloadingcancelle method execute in my imageloadinglistener instead of onloadingcomplete javadoc for this method say that be call when image loading task be cancel because view for image be reuse in new task but I really don t have any view at all I just need to get and process load image here be my imageloadinglistener code java private static class thumbnailimageloadinglistener implement imageloadinglistener private final wallpapersbundle bundle public thumbnailimageloadinglistener wallpapersbundle bundle this bundle bundle override public void onloadingstarte string imageuri view view override public void onloadingfaile string imageuri view view failreason failreason log e constant log tag failreason tostre bundle setthumbnailloade true override public void onloadingcomplete string imageuri view view bitmap loadedimage bundle setthumbnail loadedimage override public void onloadingcancelled string imageuri view view bundle setthumbnailloade false and here be how I init my imageloader java imageloader imageloader getinstance displayimageoption optionslist new displayimageoption builder cacheinmemory false cacheondisc true build imageloaderconfiguration imageloaderconfiguration new imageloaderconfiguration builder getapplicationcontext defaultdisplayimageoption optionslist build imageloader init imageloaderconfiguration what be wrong with my code p s I use imageloader 1 8 6
nostra13androiduniversalimageloader
why the change of new disk cache api
Question
fast I like this program very much
nostra13androiduniversalimageloader
can t support ftp download
Question
when I download a bitmap with the ftp url I get lot of support log
nostra13androiduniversalimageloader
display image as flipboard
Question
hi I want to use imageloader as flipboard that be when display new image before display old image have be disable while place I want to display new image as flipboard please help I
nostra13androiduniversalimageloader
how to disable the error log
Question
in developer environment there be so many error log because I know the reason so I want to disable the log out be there a switch option or some else thank for the perfect project
nostra13androiduniversalimageloader
scheme http in uppercase can not download
Bug
some image url use uppercase http www google com hk image srpr logo4w png can not download I simple use lowercase the url so that http and http be same I don t know how to pull request o o here be the code java public interface imagedownloader private boolean belongsto string uri return uri tolowercase locale getdefault startswith uriprefix
nostra13androiduniversalimageloader
custom header to http request
Question
hi I would like to use your library to download image from social network however for example twitter require additional authorization header to http request I look at the possibility to extend baseimagedownloader however it can be specify only for global singleton config but I need to add different header to different request please add such functionality thank in advance
nostra13androiduniversalimageloader
why use weakreference
Question
in the imageloadinginfo whether it will lead to frequent gc use softreference
nostra13androiduniversalimageloader
substitute another image uri s to use while load
Question
very impressive library want to say that first for sure glad to see something like this after struggle to find a good image loading solution for a while we have a bunch of different image size available to we in our app when we be load some large image we usually show a low resolution image as a stub or placeholder if it be available in memory or on disc while the loading be perform it be a nice feature that I do not see we be able to drop easily there be really no way to do this with the current loader as far as I can tell without get hacky since the cache seem to be fairly opaque and be base on the target size I have no way of know whether an image exist in the cache whether it be be load remotely etc any tip on how to achieve this be this something that might be useful to add to the library or a potential clash with the exist functionality
nostra13androiduniversalimageloader
about webp
Question
be webp support for this amazing lib
nostra13androiduniversalimageloader
imageloade failtype unkown error
Bug
hi I use uil 1 8 4 on device samsung gt i9001 android 2 3 6 in method onloadingfaile get failtype unkown with trace cause by java lang negativearraysizeexception at java lang abstractstringbuilder abstractstringbuilder java 79 at java lang stringbuilder stringbuilder java 68 at com nostra13 universalimageloader core assist imagesize tostre imagesize java 66 at java util formatter transform formatter java 1452 at java util formatter doformat formatter java 1101 at java util formatter format formatter java 1062 at java util formatter format formatter java 1031 at java lang string format string java 2177 at java lang string format string java 2151 at com nostra13 universalimageloader util l log l java 61 at com nostra13 universalimageloader util l I l java 40 at com nostra13 universalimageloader core decode baseimagedecoder preparedecodingoption baseimagedecoder java 149 at com nostra13 universalimageloader core decode baseimagedecoder decode baseimagedecoder java 72 at com nostra13 universalimageloader core loadanddisplayimagetask decodeimage loadanddisplayimagetask java 290 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 244 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 131 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1088 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 581 at java lang thread run thread java 1019 java lang negativearraysizeexception at java lang abstractstringbuilder abstractstringbuilder java 79 at java lang stringbuilder stringbuilder java 68 at com nostra13 universalimageloader core assist imagesize tostre imagesize java 66 at java util formatter transform formatter java 1452 at java util formatter doformat formatter java 1101 at java util formatter format formatter java 1062 at java util formatter format formatter java 1031 at java lang string format string java 2177 at java lang string format string java 2151 at com nostra13 universalimageloader util l log l java 61 at com nostra13 universalimageloader util l I l java 40 at com nostra13 universalimageloader core decode baseimagedecoder preparedecodingoption baseimagedecoder java 149 at com nostra13 universalimageloader core decode baseimagedecoder decode baseimagedecoder java 72 at com nostra13 universalimageloader core loadanddisplayimagetask decodeimage loadanddisplayimagetask java 290 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 244 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 131 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1088 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 581 at java lang thread run thread java 1019
nostra13androiduniversalimageloader
add ability to set a default image load animation
Question
currently the only way I have find to set an animation be to pass an anonymous class in on each displayimage call sample code in 35 it would be great to be able to set a default imageloadinglistener load the animation on every getview call be bad practice the animation should be cache this addition would make this much easy you also wouldn t have to add an anonymous class to every displayimage call in your app
nostra13androiduniversalimageloader
nullpointerexception in storageutil
Bug
hi I ve have a few report of a nullpointerexception in storageutil specifically at line 51 seem like context can be null for whatever reason not sure why it s null in my case as the report be from by application class in which I initialize the image loader with getapplicationcontext in the oncreate method it really shouldn t be null
nostra13androiduniversalimageloader
roundedbitmapdisplayer display image in wrong size
Question
hi sergey when displayimageoption include stub image and roundedbitmapdisplayer the size of image with the uri be set to the size of stub image in the roundedbitmapdisplayer display method the second parameter imageview be the same instance which show stub image for a while and roundedbitmapdisplayer roundcorner re scale bitmap and calculate radius depend on the dimension of imageview which be width and height of stub image since that calculation depend on dimension of stub image roundedbitmapdisplayer show the image an user try to display in wrong size even I set wrap content or so in the documentation in roundedbitmapdisplayer you recommend that imageview have define width and height I think this be due to calculation I mention above be it neccesary to know imageview s dimension I guess it be enough to make a rounded corner with a radius x radius y radius if you need thank you so much for amazing image loader
nostra13androiduniversalimageloader
how to process bitmap before cache
Question
for a subset of the image that I m download I want to be able to crop the image to a circle I want it to be do on download and before cache rather than every time the image be display be there some way to do this and have the library cache the process image rather than what it fetch from the server I ve see that displayimageoption have a preprocessor option display option but it wouldn t be apply the change directly to the cache image would it would I have to extend the baseimagedecoder class thank a bunch
nostra13androiduniversalimageloader
non exist remote file
Question
maybe check ifthe remote file exist before download could get rid of this timeout 07 01 18 17 13 000 e imageloader 21188 java net sockettimeoutexception 07 01 18 17 13 000 e imageloader 21188 at java net plainsocketimpl read plainsocketimpl java 491 07 01 18 17 13 000 e imageloader 21188 at java net plainsocketimpl access 000 plainsocketimpl java 46 07 01 18 17 13 000 e imageloader 21188 at java net plainsocketimpl plainsocketinputstream read plainsocketimpl java 240 07 01 18 17 13 000 e imageloader 21188 at java io inputstream read inputstream java 163 07 01 18 17 13 000 e imageloader 21188 at java io bufferedinputstream fillbuf bufferedinputstream java 142 07 01 18 17 13 000 e imageloader 21188 at java io bufferedinputstream read bufferedinputstream java 227 07 01 18 17 13 000 e imageloader 21188 at libcore io stream readasciiline stream java 201 07 01 18 17 13 000 e imageloader 21188 at libcore net http httpengine readresponseheader httpengine java 547 07 01 18 17 13 000 e imageloader 21188 at libcore net http httpengine readresponse httpengine java 787 07 01 18 17 13 000 e imageloader 21188 at libcore net http httpurlconnectionimpl getresponse httpurlconnectionimpl java 274 07 01 18 17 13 000 e imageloader 21188 at libcore net http httpurlconnectionimpl getresponsecode httpurlconnectionimpl java 479 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core download baseimagedownloader getstreamfromnetwork baseimagedownloader java 113 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core download baseimagedownloader getstream baseimagedownloader java 84 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core decode baseimagedecoder getimagestream baseimagedecoder java 84 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core decode baseimagedecoder decode baseimagedecoder java 73 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core loadanddisplayimagetask decodeimage loadanddisplayimagetask java 290 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 250 07 01 18 17 13 000 e imageloader 21188 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 131
nostra13androiduniversalimageloader
strictmode detect leak on download image
Bug
06 27 08 01 02 609 e strictmode 2362 a resource be acquire at attached stack trace but never release see java io closeable for information on avoid resource leak 06 27 08 01 02 609 e strictmode 2362 java lang throwable explicit termination method close not call 06 27 08 01 02 609 e strictmode 2362 at dalvik system closeguard open closeguard java 184 06 27 08 01 02 609 e strictmode 2362 at org apache harmony xnet provider jsse opensslsocketimpl starthandshake opensslsocketimpl java 272 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpconnection setupsecuresocket httpconnection java 209 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpsurlconnectionimpl httpsengine makesslconnection httpsurlconnectionimpl java 478 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpsurlconnectionimpl httpsengine connect httpsurlconnectionimpl java 433 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpengine sendsocketrequ httpengine java 290 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpengine sendrequest httpengine java 240 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpurlconnectionimpl connect httpurlconnectionimpl java 81 06 27 08 01 02 609 e strictmode 2362 at libcore net http httpsurlconnectionimpl connect httpsurlconnectionimpl java 165 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core download baseimagedownloader connectto baseimagedownloader java 126 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core download baseimagedownloader getstreamfromnetwork baseimagedownloader java 110 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core download baseimagedownloader getstream baseimagedownloader java 84 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core loadanddisplayimagetask downloadimage loadanddisplayimagetask java 340 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core loadanddisplayimagetask trycacheimageondisc loadanddisplayimagetask java 307 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 249 06 27 08 01 02 609 e strictmode 2362 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 131 06 27 08 01 02 609 e strictmode 2362 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 06 27 08 01 02 609 e strictmode 2362 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 06 27 08 01 02 609 e strictmode 2362 at java lang thread run thread java 856
nostra13androiduniversalimageloader
load same image even url be change and get warning try re init imageloader use imageloader destroy first
Question
where can re config or use imageloader destroy to make change in url so that new image can be fetch in imagegridview at the moment I m keep get same image even there be a change in url string array in my imagegrid view I add java override public void onstop imageloader destroy to resolve re init warn but its not work keep load same image please help
nostra13androiduniversalimageloader
roundedbitmapdisplayer not display round corner correctly centercrop
Bug
hi firstly sorry for my pool english I m use roundedbitmapdisplayer for display an imageview which want to be round and in my case the imageview size be 124x124 and the bitmap which want to load be 96x144 the imageview scaletype be centercrop I debug the rounded bitmap size that it be not work correctly in my hope the size will be 124x124 but the output be 96x124 since I comment follow code and modify the width and height value it work fine java case center crop width math min vw bw height math min vh bh width srcwidth height srcheight srcrect new rect x y x srcwidth y srcheight destrect new rect 0 0 width height break hope your reply for this fix
nostra13androiduniversalimageloader
npe in imageloaderengine v1 8 3
Bug
I m get a npe report by crittercism when use uil 0 java lang nullpointerexception 1 at com nostra13 universalimageloader core imageloaderengine 1 run imageloaderengine java 73 2 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 3 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 4 at java lang thread run thread java 856 the issue be on this line l73 by look over the source it doesn t seem possible for a null task to be supply so it seem as though the view be be destroy or the back button be be press before the executor run so the taskexecutorforcachedimage be null at this point I m run v1 8 3 and the line I link to be for that version as well also this be all that crittercism be report
nostra13androiduniversalimageloader
how to manage the taskprocessingorder
Question
I set the taskprocessingorder queueprocessingtype fifo when the imageview scroll out of the screen and the image isn t download yet I want to cancle the image which be scroll out of the screen in the task queue how can I do that
nostra13androiduniversalimageloader
dropbox file
Question
dear I be use your lib and it be very good but in last few hour your dropbox url be break it be image 1 preview picture and it be make app to be very slow because of load non exist picture can you check this please good regard marko radosavljevic
nostra13androiduniversalimageloader
how to show the pic like google bitmapfun in order
Question
I find that the google bitmapfun display the picture in order and android universal image loader seem like be random how to control the picture display order be there any suggestion
nostra13androiduniversalimageloader
how to cancel a loading task and delete the break cache file
Question
hi nostra13 how to cancel a loading task and delete the break cache file please
nostra13androiduniversalimageloader
potential null pointer access in loadanddisplayimagetask
Bug
line 281 282 java if cachedir null cachedir exist cachedir mkdir if cachedir be null then npe will always be throw perhaps it should be java if cachedir null cachedir exist
nostra13androiduniversalimageloader
don t catch sockettimeoutexception
Question
I can t english well understand I situation device connect wifi but not authorize connectivity so can t use any internet service I see the source code but not catch up sockettimeoutexception only ioexception catch