repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
facebookfresco | setplaceholderimage setfailureimage and setoverlay support uri and load image from cache | Enhancement | at this moment we have to construct drawable everytime we call setplaceholderimage setfailureimage and setoverlay it would be ideal if we could call use uri and it could load image from pipeline memory and disk cache for well performance |
facebookfresco | performance consideration return http status code or header | Enhancement | it would be helpful if fresco can return http status code and it be also nice to return http header as well for every imagerequ excuted the http status code fresco return could be use to tweak the future image request for example in follow sample code it request to remote server to see if avatar exist if not it will next request to local storage to get the avatar if application could read http status code or header it can understand the image doesn t exist on server as result it can add login to exclude future request to the server sample code imagerequ requestserver imagerequestbuilder newbuilderwithsource avatarserveruri build imagerequ requestplaceholder imagerequestbuilder newbuilderwithsource avatarplaceholderuri build list imagerequest new arraylist imagerequest add requestserver imagerequest add requestplaceholder draweecontroller controller fresco newdraweecontrollerbuilder setfirstavailableimagerequest imagerequest toarray new imagerequ imagerequest size setoldcontroller draweeview getcontroller build draweeview setcontroller controller |
facebookfresco | bpg support | Enhancement | bpg well portable graphic be a new image format its purpose be to replace the jpeg image format when quality or file size be an issue its main advantage be high compression ratio file be much small than jpeg for similar quality support by most web browser with a small javascript decoder gzippe size 56 kb base on a subset of the hevc open video compression standard support the same chroma format as jpeg grayscale ycbcr 4 2 0 4 2 2 4 4 4 to reduce the loss during the conversion an alpha channel be support the rgb ycgco and cmyk color space be also support native support of 8 to 14 bit per channel for a high dynamic range lossless compression be support various metadata such as exif icc profile xmp can be include animation support source some people have add it to android app already note shamelessly copy from here |
facebookfresco | pause and restart process queue | Duplicate | how can I stop process queue during scroll in listview make smooth scroll how can I achieve this thank |
facebookfresco | change network request parameter for image | Enhancement | can I set a custom retry policy and network timeout for network image request |
facebookfresco | how to customize imagedecod the file might be base64 or encrypt | Enhancement | here be the scenario the image from server be encrypt so it should be decrypt when decode as a image I read the sourcecode postprocessor can t do the decryption maybe I could use imagedecod to decrypt before decode as a image but I find it be hard to customize imagedecod do you have any advise about this |
facebookfresco | tile a bitmap in simpledraweeview | Enhancement | how do I tile a bitmap before display it in simpledraweeview none doesn t make it clear so for now I have to use native imageview and use fresco pipeline to fetch just the bitmap repeat it with a bitmapdrawable and display which I guess be not a very good way I try do it in a postprocessor but the bitmap receive in process bitmap destbitmap bitmap sourcebitmap be already streche |
facebookfresco | how can I do conditional processing in basepostprocessor | Enhancement | override public void process bitmap destbitmap final bitmap sourcebitmap if process process mcontext destbitmap sourcebitmap else destbitmap sourcebitmap |
facebookfresco | draweeeventtracker queue fill up | Bug | app be crash because I do not know why java lang illegalstateexception queue full 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at java util abstractqueue add abstractqueue java 69 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at java util concurrent arrayblockingqueue add arrayblockingqueue java 282 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at com facebook drawee component draweeeventtracker recordevent draweeeventtracker java 52 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at com facebook drawee view draweeholder ondetach draweeholder java 127 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at com facebook drawee view draweeview onstarttemporarydetach draweeview java 116 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view dispatchstarttemporarydetach view java 8335 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup dispatchstarttemporarydetach viewgroup java 2663 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup dispatchstarttemporarydetach viewgroup java 2663 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup dispatchstarttemporarydetach viewgroup java 2663 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget abslistview recyclebin addscrapview abslistview java 6551 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget gridview onmeasure gridview java 1080 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget relativelayout measurechild relativelayout java 697 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget relativelayout onmeasure relativelayout java 481 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget framelayout onmeasure framelayout java 436 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget relativelayout measurechild relativelayout java 697 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget relativelayout onmeasure relativelayout java 481 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android support design widget coordinatorlayout onmeasurechild coordinatorlayout java 607 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android support design widget coordinatorlayout onmeasure coordinatorlayout java 674 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget relativelayout measurechildhorizontal relativelayout java 727 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget relativelayout onmeasure relativelayout java 463 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android support v4 widget drawerlayout onmeasure drawerlayout java 940 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget framelayout onmeasure framelayout java 436 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android support v7 internal widget contentframelayout onmeasure contentframelayout java 135 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget linearlayout measurechildbeforelayout linearlayout java 1436 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget linearlayout measurevertical linearlayout java 722 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget linearlayout onmeasure linearlayout java 613 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget framelayout onmeasure framelayout java 436 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget linearlayout measurechildbeforelayout linearlayout java 1436 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget linearlayout measurevertical linearlayout java 722 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget linearlayout onmeasure linearlayout java 613 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewgroup measurechildwithmargin viewgroup java 5535 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android widget framelayout onmeasure framelayout java 436 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at com android internal policy impl phonewindow decorview onmeasure phonewindow java 2615 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view view measure view java 17547 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewrootimpl performmeasure viewrootimpl java 2015 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewrootimpl performtraversal viewrootimpl java 1781 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewrootimpl dotraversal viewrootimpl java 1061 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view viewrootimpl traversalrunnable run viewrootimpl java 5885 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view choreographer callbackrecord run choreographer java 767 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view choreographer docallback choreographer java 580 10 21 10 31 27 699 8966 8966 com zoho notebook e androidruntime at android view choreographer doframe choreographer java 550 |
facebookfresco | http error be store in cache | Bug | when connect to a need need authenticate wifi the response of image request be a html for login and the html be cache to disk after that load the image will get from disk cache but the cache file be not a bitmap file then the image show nothing even connect to another wifi do not need authenticate |
facebookfresco | imagepipelinefactory doesn t use the platformbitmapfactory that be set in imagepipelineconfig | Bug | you can set a custom platformbitmapfactory object via imagepipelineconfig builder setplatformbitmapfactory method but imagepipelinefactory seem like not use the config value and create a new one in buildplatformbitmapfactory poolfactory method |
facebookfresco | change overlay dynamically | Enhancement | I ve be use simpledraweeview and it s param fresco overlayimage successfully and now I would like to change that drawable in java recyclerview onbindviewholder method any suggestion |
facebookfresco | detect redirect image | Enhancement | hi use fresco can I detect whether an image have come from a redirected url eg I request www example com image a cat jpg and it return through redirect www example com image no such image jpg one possible solution would be to compare the url I send and the one in the return header be there a way to do this thank |
facebookfresco | how to add http header when download image | Enhancement | I need to add some info to the http header or it will be fail to download image I can t find the way to do that anyone know how to solve it |
facebookfresco | imagepipeline fetchencodedimage with local image uri file throw exception | Enhancement | next code javascript private void makeimagethumbnail final string imgfile int width imagesize height imagesize imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri parse file imgfile setresizeoption new resizeoption width height build imagepipeline imagepipeline fresco getimagepipeline datasource datasource imagepipeline fetchencodedimage imagerequ getactivity throw exception on last line java lang illegalargumentexception at com facebook common internal precondition checkargument precondition java 108 at com facebook imagepipeline core producersequencefactory validateencodedimagerequ producersequencefactory java 119 at com facebook imagepipeline core producersequencefactory getencodedimageproducersequence producersequencefactory java 93 why aren t local file support in fetchencodedimage |
facebookfresco | allow control over transition between controller | Enhancement | currently set a new draweecontroller switch over immediately even if the new image be not ready this can be jar even if the fade effect be use since it only fade in the second image ideally the interface would allow a crossfade between the two image or other customization |
facebookfresco | minor api change expose getid on draweecontroller interface | Enhancement | both controllerlistener and basecontrollerlist provide callback that include the controller i d as a parameter but draweecontroller do not include getid as an interface method the only way to find out the i d of the controller for share controllerlistener instance be to downcast to abstractdraweecontroller |
facebookfresco | wrap conent for very thin image | Bug | hello I have an issue with wrap conent height for remote thin image onfinalimageset I m doint this msimpledraweeview setaspectratio float imageinfo getwidth imageinfo getheight this code code work fine for image be aspect ration be about 1 2 I have one special case I m laode a very thin image that should autofil his height but for some reason it doesn t imageinfo getwidth 641 imageinfo getheight 37 so aspectratio be about 17 image be resize about 3 time big than should be by height here be the layout I think it happen only for very thin image because other with ex 640x290 be resize properly do anyone encounter this before |
facebookfresco | illegalstateexception in closeifownedby function | Bug | see this crash in log no idea what be cause it or how to reproduce have happen to 3 people so far on 5 1 1 and 5 0 2 java lang illegalstateexception at com squareup okhttp connection closeifownedby connection java 137 at com squareup okhttp okhttpclient 1 closeifownedby okhttpclient java 75 at com squareup okhttp internal http httpengine disconnect httpengine java 577 at com squareup okhttp call cancel call java 122 at com facebook imagepipeline backend okhttp okhttpnetworkfetcher 1 1 run okhttpnetworkfetcher java 98 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 818 do anyone have any idea on what could be cause this or what I can do to prevent it |
facebookfresco | oom on lollipop when use viewpager for large image | Bug | java lang outofmemoryerror fail to allocate a 2560012 byte allocation with 392548 free byte and 383 kb until oom at dalvik system vmruntime newnonmovablearray native method at android graphic bitmap nativecreate native method at android graphic bitmap createbitmap bitmap java 939 at android graphic bitmap createbitmap bitmap java 912 at android graphic bitmap createbitmap bitmap java 879 at com facebook imagepipeline memory bitmappool alloc bitmappool java 55 at com facebook imagepipeline memory bitmappool alloc bitmappool java 30 at com facebook imagepipeline memory basepool get basepool java 259 at com facebook imagepipeline bitmaps artbitmapfactory decodestaticimagefromstream artbitmapfactory java 124 at com facebook imagepipeline bitmaps artbitmapfactory decodejpegfromencodedimage artbitmapfactory java 116 at com facebook imagepipeline bitmaps platformbitmapfactory decodejpegfromencodedimage platformbitmapfactory java 106 at com facebook imagepipeline decoder imagedecoder decodejpeg imagedecod java 148 at com facebook imagepipeline decoder imagedecoder decodeimage imagedecod java 82 at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 188 at com facebook imagepipeline producer decodeproducer progressivedecoder access 200 decodeproducer java 96 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 128 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 207 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 27 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 78 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 at com facebook imagepipeline core prioritythreadfactory 1 run prioritythreadfactory java 43 at java lang thread run thread java 818 |
facebookfresco | change failureimage in code | Enhancement | simpledraweeview gethierarchy there be no method to set failureimage how to set failureimage in code |
facebookfresco | closeablereference finalize without close in simpledraweeview listview | Bug | hi fresco first of all thank for this amazing android image loading framework here be the problem happen to I when I use simpledraweeview in listview loading android sd file normally I scroll it nothing weird happen but when I fast scroll it log tell I unknown closeablereference finalize without close 42d7b6a8 42d7b718 type nativepooledbytebuffer accord to the issue 213 use simpledraweeview will not encounter this problem can you help I |
facebookfresco | fade in effect be go when setprogressbarimage or setroundingparam | Bug | in 0 7 0 when I use genericdraweehierarchybuilder to setprogressbarimage or setroundingparam the default fade in effect be go the image come out directly if I delete setprogressbarimage and setroundingparam everything be normal and effect come back same problem also occur in old relase |
facebookfresco | load large png image not smooth | Bug | I load the image list of sdcard and scroll fast the listview scroll not smooth |
facebookfresco | pressedstateoverlayimage overlayimage not work | Duplicate | fresco overlayimage pressedstateoverlayimage and overlayimage not work my init fuction public static void initfresco context context imagepipelineconfig config okhttpimagepipelineconfigfactory newbuild context mokhttpclient getinstance getokhttpclient setmaindiskcacheconfig diskcacheconfig newbuild setbasedirectorypath mokhttpclient getcachedir setbasedirectoryname mokhttpclient getmaincachedirname build setsmallimagediskcacheconfig diskcacheconfig newbuilder setbasedirectorypath mokhttpclient getcachedir setbasedirectoryname mokhttpclient getsmallcachedirname build build fresco initialize context config |
facebookfresco | fresco do not work well on lollipop and upper | Bug | fresco save bitmap in the android java vm heap on the lollipop and upper but it seem that lollipop memory strategy dose not perform well on these device facebook app run on my samsung note4 would easily take almost 170 m java heap memory if load the local camera image memory usage raise up to 211 m please refer to the following output since this device be not root I can t provide the hprof dump but I can do that if we would do the future work adb shell dumpsys meminfo com facebook katana application memory usage kb uptime 24045894 realtime 182766077 meminfo in pid 2941 com facebook katana pss private private swap heap heap heap total dirty clean dirty size alloc free native heap 0 0 0 0 96228 96228 51227 dalvik heap 183464 183420 4 25504 211055 201411 9644 dalvik other 1388 1388 0 0 stack 1532 1532 0 0 cursor 2 0 0 0 ashmem 128 128 0 0 other dev 111553 102592 12 0 so mmap 13889 604 7816 1388 apk mmap 2151 0 964 0 ttf mmap 3742 0 3240 0 dex mmap 78828 0 78136 0 code mmap 4804 0 2560 0 image mmap 8544 2300 2828 0 other mmap 1233 4 776 0 graphic 49920 49920 0 0 gl 177804 177804 0 0 unknown 80796 80624 152 2380 total 719778 600316 96488 29272 307283 297639 60871 object view 1284 viewrootimpl 3 appcontext 13 activity 9 asset 6 assetmanager 6 local binder 104 proxy binder 59 death recipient 1 openssl socket 1 sql memory use 5359 pagecache overflow 4036 malloc size 62 database pgsz dbsz lookaside b cache dbname 4 340 334 113 52 12 datum datum com facebook katana database contact db2 4 36 30 17 43 6 datum datum com facebook katana database composer db 4 192 80 20 49 9 datum datum com facebook katana database notification db 4 28 33 8 43 3 datum datum com facebook katana database admine page db 4 24 52 8 40 3 datum datum com facebook katana database minutia db 4 56 30 49 44 4 datum datum com facebook katana database analytic db2 4 136 31 1237 1274 4 datum datum com facebook katana database pref db 4 224 61 9 44 4 datum datum com facebook katana database qe db 4 28 44 16 53 7 datum datum com facebook katana database timeline db 4 240 128 451 102 14 datum datum com facebook katana database newsfeed db 4 44 51 12 36 5 datum datum com facebook katana database photo db 4 148 201 397 64 10 datum datum com facebook katana database thread db2 4 1520 196 1432 191 25 datum datum com facebook katana database graphql cache 4 28 49 10 43 3 datum datum com facebook katana database offline mode db asset allocation zip datum app com facebook katana 1 base apk resource arsc 8284k zip datum app com facebook katana 1 base apk asset font roboto bold ttf 114k zip datum app com facebook katana 1 base apk asset font roboto medium ttf 114k |
facebookfresco | fresco request same uri several time | Bug | hi I recently encounter a problem that fresco repeat request with same uri for example there be a listview refresh it several time the problem happen the request of some picture be send repeatly the following be the request I catch image can you help I |
facebookfresco | a resource be acquire at attached stack trace but never release see java io closeable for information on avoid resource leak | Bug | 08 28 13 04 25 102 e strictmode 9428 a resource be acquire at attached stack trace but never release see java io closeable for information on avoid resource leak 08 28 13 04 25 102 e strictmode 9428 java lang throwable explicit termination method end not call 08 28 13 04 25 102 e strictmode 9428 at dalvik system closeguard open closeguard java 184 08 28 13 04 25 102 e strictmode 9428 at java util zip inflater inflater java 82 08 28 13 04 25 102 e strictmode 9428 at com android okio gzipsource gzipsource java 57 08 28 13 04 25 102 e strictmode 9428 at com android okhttp internal http httpengine initcontentstream httpengine java 490 08 28 13 04 25 102 e strictmode 9428 at com android okhttp internal http httpengine readresponse httpengine java 680 08 28 13 04 25 102 e strictmode 9428 at com android okhttp internal http httpurlconnectionimpl execute httpurlconnectionimpl java 388 08 28 13 04 25 102 e strictmode 9428 at com android okhttp internal http httpurlconnectionimpl getresponse httpurlconnectionimpl java 332 08 28 13 04 25 102 e strictmode 9428 at com android okhttp internal http httpurlconnectionimpl getinputstream httpurlconnectionimpl java 199 08 28 13 04 25 102 e strictmode 9428 at com facebook imagepipeline producer httpurlconnectionnetworkfetcher 1 run httpurlconnectionnetworkfetcher java 58 08 28 13 04 25 102 e strictmode 9428 at java util concurrent executors runnableadapter call executor java 422 08 28 13 04 25 102 e strictmode 9428 at java util concurrent futuretask run futuretask java 237 08 28 13 04 25 102 e strictmode 9428 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1112 08 28 13 04 25 102 e strictmode 9428 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 587 08 28 13 04 25 102 e strictmode 9428 at java lang thread run thread java 818 |
facebookfresco | high failure rate when circle image with border simpledraweeview | Bug | here s my code in xml without roundingborder it s pretty but with roundingborder the failure rate be so high just like follow the result I want image but after refresh it sometimes look like this image image how to resolve this problem thank for your answer |
facebookfresco | outofmemoryerror | Bug | hello I m use fresco in a recyclerview I m recycle the view properly and of course initialize fresco just once in the application class I see that there be other oom issue report but all of they seem to occur due to huge image try to be load into the memory in my case as you can see in the follow screenshot the image be small screen shoot 2015 08 27 at 10 41 42 screen shoot 2015 08 27 at 10 47 50 it seem it s only happen on android 5 0 with art screen shoot 2015 08 27 at 10 48 28 any idea how to solve this issue I have too many occurrence of these crash edit 1 I be load 6 8 image on screen at most all of they be jpeg of 250 25 kb max here s the hprof file heap dump thank you in advance martin |
facebookfresco | space in url image unable to load | Bug | image unable to appear when use url that content space url without any space be work ok not work url medium image tsol photo gallery nation 2015 08 26 bersih 4 ashx crop 1 w 460 h 345 work url medium image tsol photo gallery nation 2015 08 26 011040853 ashx crop 1 w 460 h 345 it do not work even I replace the space bersih 4 to bersih 204 thank |
facebookfresco | make nineoldandroid optional | Enhancement | how to avoid use nineoldandroids lib my app min target be api level 15 |
facebookfresco | cancel postprocesse image aren t cache | Bug | hi guy first of all great library only problem I ve have so far be with cache of post process image I m follow the documentation put up and have look around but can t seem to figure out what s go wrong here I have a fragmentstatepageradapter with each fragment have a full sized blurred image as its background and I have a post processor that blur the background image and all of that be work fine but when I scroll between the fragment back and forth the blurred background image be reprocess every time which be really annoying there s a section in the doc say that post process image can be cache and I m do everything it s say I should but image be still not be cache my post processor public class blurpostprocessor extend basepostprocessor private context context private string url public blurpostprocessor context context string url this context context this url url override public string getname return blurpostprocessor override public cachekey getpostprocessorcachekey return new simplecachekey url override public void process bitmap destbitmap bitmap sourcebitmap code that blur the image into destbitmap I ve also try implement my own cachekey before find out about simplecachekey but that didn t work either any help would be appreciate thank |
facebookfresco | load image fail | Bug | there be about 100 image whose size be 2048 1536 will show in my project I have use resizing but I find that fresco can only load several image and then all below image would load fail by the way I use viewpage with fragmentstatepageradapter the code I use to load image be below simpledraweeview imageview new simpledraweeview getcontext imageview setscaletype imageview scaletype center crop imageview setlayoutparam new layoutparam layoutparam match parent this devicesize y uri uri uri parse this imageurl get I imagerequ request imagerequestbuilder newbuilderwithsource uri setresizeoption new resizeoption devicesize x devicesize y build pipelinedraweecontroller controller pipelinedraweecontroller fresco newdraweecontrollerbuilder setoldcontroller imageview getcontroller setcontrollerlistener controllerlistener setimagerequest request build imageview setcontroller controller and the error e unknown error load 8 com facebook imagepipeline memory basepool poolsizeviolationexception pool hard cap violation hard cap 50331648use size 48168960free size 0request size 9633792 at com facebook imagepipeline memory basepool get basepool java 241 at com facebook imagepipeline bitmaps artbitmapfactory dodecodestaticimage artbitmapfactory java 131 at com facebook imagepipeline bitmaps artbitmapfactory decodejpegfrompooledbytebuffer artbitmapfactory java 119 at com facebook imagepipeline bitmap platformbitmapfactory decodejpegfrompooledbytebuffer platformbitmapfactory java 106 at com facebook imagepipeline decoder imagedecoder decodejpeg imagedecod java 135 at com facebook imagepipeline decoder imagedecoder decodeimage imagedecod java 83 at com facebook imagepipeline producer decodeproducer progressivedecoder dodecode decodeproducer java 166 at com facebook imagepipeline producer decodeproducer progressivedecoder access 000 decodeproducer java 88 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 112 at com facebook imagepipeline producer decodeproducer progressivedecoder 1 run decodeproducer java 109 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 214 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 30 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 68 at com facebook common executor serialdelegatingexecutor executesinglecommand serialdelegatingexecutor java 76 at com facebook common executor serialdelegatingexecutor access 000 serialdelegatingexecutor java 24 at com facebook common executor serialdelegatingexecutor 1 run serialdelegatingexecutor java 47 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 818 p s the example for the imageurl |
facebookfresco | java lang unsatisfiedlinkerror | Duplicate | xt320 android 4 3 level 18 java lang unsatisfiedlinkerror couldn t load memchunk from loader dalvik system pathclassloader dexpathlist zip file datum app xx xx xx 1 apk nativelibrarydirectorie datum app lib xx xx xx 1 vendor lib system lib findlibrary return null java lang runtime loadlibrary runtime java 355 java lang system loadlibrary system java 525 com facebook common soloader soloadershim defaulthandler a soloadershim java 32 com facebook common soloader soloadershim a soloadershim java 56 com facebook imagepipeline memory nativememorychunk nativememorychunk java 35 com facebook imagepipeline memory nativememorychunkpool I nativememorychunkpool java 59 com facebook imagepipeline memory nativememorychunkpool b nativememorychunkpool java 21 com facebook imagepipeline memory basepool a basepool java 253 com facebook imagepipeline memory nativepooledbytebufferoutputstream nativepooledbytebufferoutputstream java 52 com facebook imagepipeline memory nativepooledbytebufferfactory a nativepooledbytebufferfactory java 97 com facebook imagepipeline memory nativepooledbytebufferfactory b nativepooledbytebufferfactory java 25 com facebook imagepipeline producer localfetchproducer a localfetchproducer java 89 com facebook imagepipeline producer localfetchproducer a localfetchproducer java 102 com facebook imagepipeline producer localfilefetchproducer a localfilefetchproducer java 34 com facebook imagepipeline producer localfetchproducer 1 d localfetchproducer java 56 com facebook imagepipeline producer localfetchproducer 1 c localfetchproducer java 52 com facebook common executor statefulrunnable run statefulrunnable java 45 java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 java lang thread run thread java 841 |
facebookfresco | fetchdecodedimage resize uri from local file but keep original size when uri from internet | Bug | I find a bug on fresco 0 6 1 I m try to get a bitmap from a file save in my sd card but when I fetchdecodedimage from a file the bitmap be resize and consequently lose too much quality however when I try to fetchdecodedimage with a uri from internet the bitmap isn t resize and doesn t lose quality uri fromfile file lose quality uri parse don t lose quality why I need to fetchdecodedimage with local file without lose quality my image be jpg and 1215x717 example difference between uri s t code imagepipeline imagepipeline fresco getimagepipeline datasource datasource imagepipeline fetchdecodedimage imagerequ fromuri uri fromfile file getapplicationcontext datasource subscribe new basebitmapdatasubscriber override protect void onnewresultimpl nullable bitmap bitmap update notification big picture here override protect void onfailureimpl datasource datasource callerthreadexecutor getinstance thank |
facebookfresco | should have option for select abis while import library or aar | Enhancement | fresco should provide we with an option to select the abis while import library as import whole library cost s developer an extra 3 4 mb with apk I understand the concept of multiple apk s but that s a work around fresco should provide we with compatibility |
facebookfresco | get frame by position from webp and show in simpledraweeview | Enhancement | how do it |
facebookfresco | java lang nosuchfielderror stroke bug | Bug | java lang nosuchfielderror stroke at com facebook drawee drawable roundedbitmapdrawable roundedbitmapdrawable java 61 at com facebook drawee drawable roundedbitmapdrawable frombitmapdrawable roundedbitmapdrawable java 73 at com facebook drawee generic genericdraweehierarchy maybeapplyroundingbitmaponly genericdraweehierarchy java 353 at com facebook drawee generic genericdraweehierarchy setimage genericdraweehierarchy java 445 at com facebook drawee controller abstractdraweecontroller onnewresultinternal abstractdraweecontroller java 467 at com facebook drawee controller abstractdraweecontroller access 000 abstractdraweecontroller java 47 at com facebook drawee controller abstractdraweecontroller 1 onnewresultimpl abstractdraweecontroller java 413 at com facebook datasource basedatasubscriber onnewresult basedatasubscriber java 43 at com facebook datasource abstractdatasource 1 run abstractdatasource java 181 at com facebook common executor uithreadimmediateexecutorservice execute uithreadimmediateexecutorservice java 40 at com facebook datasource abstractdatasource notifydatasubscriber abstractdatasource java 172 at com facebook datasource abstractdatasource subscribe abstractdatasource java 155 at com facebook drawee controller abstractdraweecontroller submitrequest abstractdraweecontroller java 429 at com facebook drawee controller abstractdraweecontroller onattach abstractdraweecontroller java 332 at com facebook drawee view draweeholder attachcontroller draweeholder java 276 at com facebook drawee view draweeholder setcontroller draweeholder java 222 at com facebook drawee view draweeview setcontroller draweeview java 87 |
facebookfresco | the image load from local file be small | Bug | when I try to use simpledraweeview setimageuri uri parse file storage emulate 0 picture jpeg 20150814 223226 1110502600 jpg the image load from the photo that I take from the camera be very small but the image load from the other photo ex screenshot be normal |
facebookfresco | scale bug on android 4 4 2 | Bug | hello I ve find strange bug on android 4 4 2 see screenshot draweeview be place in viewpager with scaletype fit center screenshot layout be instantiation code override public object instantiateitem viewgroup container int position final zoomabledraweeview v new zoomabledraweeview container getcontext v setverticaldraglistener mverticaldraglistener genericdraweehierarchy hierarchy mhotelimagehierarchyfactory newhierarchywithoutbackground hierarchy setactualimagescaletype scalingutil scaletype fit center draweecontroller controller fresco newdraweecontrollerbuilder setlowresimagerequest imagerequ fromuri getimageurl position mpreloadimagesize seturi uri parse getimageurl position mimagesize build v sethierarchy hierarchy v setcontroller controller container addview v v settag gettagforposition position return v |
facebookfresco | nativememorychunk noclassdeferror | Duplicate | this occur in low memory phone the stacktrace be java lang noclassdeffounderror com facebook imagepipeline memory nativememorychunk at com facebook imagepipeline memory nativememorychunkpool alloc sourcefile 60 at com facebook imagepipeline memory nativememorychunkpool alloc sourcefile 22 at com facebook imagepipeline memory basepool get sourcefile 260 at com facebook imagepipeline memory nativepooledbytebufferoutputstream sourcefile 53 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer sourcefile 98 at com facebook imagepipeline memory nativepooledbytebufferfactory newbytebuffer sourcefile 26 at com facebook imagepipeline cache buffereddiskcache readfromdiskcache sourcefile 198 at com facebook imagepipeline cache buffereddiskcache access 300 sourcefile 38 at com facebook imagepipeline cache buffereddiskcache 1 call sourcefile 104 at com facebook imagepipeline cache buffereddiskcache 1 call sourcefile 88 at bolt task 2 run sourcefile 195 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at java lang thread run thread java 838 |
facebookfresco | fresco win t recycle the memory on lollipop | Bug | I show some picture use viewpager viewpager item be fragment even though fregment be detroy gc be not occur keep add image to memory 11 222 init fresco imagepipelineconfig config okhttpimagepipelineconfigfactory newbuilder this dcb restfuladapter getclient build fresco initialize this config show image genericdraweehierarchybuilder builder new genericdraweehierarchybuilder getresource genericdraweehierarchy hierarchy builder setfadeduration 300 setactualimagescaletype scalingutil scaletype fit center setprogressbarimage new customprogressbardrawable this build hierarchy setplaceholderimage r drawable ic placeholder imagerequ imagerequ imagerequestbuilder newbuilderwithsource uri parse url setresizeoption new resizeoption util getscreenwidth getactivity util getscreenheight getactivity setresizeoption new resizeoption 300 300 setautorotateenable true build draweecontroller draweecontroller fresco newdraweecontrollerbuilder setimagerequ imagerequ setautoplayanimation true setoldcontroller view getcontroller build view setcontroller draweecontroller view sethierarchy hierarchy view setaspectratio 1 33f |
facebookfresco | break gif can t load | Enhancement | fresco 0 6 1 android 5 1 image url the gif image can t show animation or display static image it be break I open it on photoshop cs6 and get an error maybe fatal error c1004 or eofexception I don t know it display well with android gif drawable |
facebookfresco | option to disable auto cancel image loading when user leave the view | Enhancement | good day I have a long list view that display a lot of image I ve find out that my image which be not loaded will stop load as user scroll down the list view user will have to wait for they to load again when he she scroll back to that position this could cause some issue for those user who do not own high speed internet use mobile datum so I would like to ask be there anywhere to toggle the auto cancel image loading feature when simpledraweeview be out of the active view any kind of help be much appreciated thank you |
facebookfresco | performance issue | Enhancement | hi I be very thrilled to use your image loader it load image fast but not very fast you can refer to oppo mobile phone s album I can view the image without stub photo when I scroll it it run fast than your s can you improve it thank you |
facebookfresco | decide rotation direction of loading animation | Enhancement | I think it would be great to be able to decide if you want clock wise or counter clock wise rotation of the loading drawable |
facebookfresco | load local image cause some problem on version 0 6 0 | Bug | usually appear at the second or more time when I try to load image at same place activity crash no error log print it s ok when I use the version 0 4 0 |
facebookfresco | resource not be close | Bug | I m get lot of error when use strict mode 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 com facebook imagepipeline producer localfetchproducer 3 get localfetchproducer java 128 at com facebook imagepipeline producer localfetchproducer 3 get localfetchproducer java 124 at com facebook imagepipeline image encodedimage getinputstream encodedimage java 145 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 73 at com facebook imagepipeline producer localfetchproducer 1 getresult localfetchproducer java 56 at com facebook common executor statefulrunnable run statefulrunnable java 45 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 |
facebookfresco | allow image loading to be pause on scroll | Enhancement | I want to pause loading on scoll |
facebookfresco | can t use drawable with colorfilter as placeholder when roundascircle be true | Bug | I m try to use a drawable with a color filter if I set the rounding param I get the placeholder without color filter if I remove they it work correctly this be the code I m use simpledraweeview simpledraweeview simpledraweeview findviewbyid r i d draweeview drawable drawable getresource getdrawable r drawable placeholder drawable setcolorfilter getresource getcolor r color green porterduff mode src in genericdraweehierarchybuilder builder new genericdraweehierarchybuilder getresource genericdraweehierarchy hierarchy builder setplaceholderimage drawable setroundingparam new roundingparam setborder getresource getcolor r color gray 1 build simpledraweeview sethierarchy hierarchy simpledraweeview setimageuri uri parse thank |
facebookfresco | write to disk cache condition | Bug | it seem like fresco only write file with image extension eg png jpg bmp to disk cache be there any option to modify this to allow image cache for other extension |
facebookfresco | animation end listener | Enhancement | hi please add animation end listener to controller to catch animation finish event when play webp animation with simpledrawee tnx |
facebookfresco | shapedrawable mutation not work on android 4 1 2 | Bug | java lang nullpointerexception at android graphic rect rect java 72 at android graphic drawable shapedrawable mutate shapedrawable java 377 at com facebook drawee drawable forwardingdrawable mutate forwardingdrawable java 160 at com facebook drawee drawable fadedrawable drawdrawablewithalpha fadedrawable java 304 at com facebook drawee drawable fadedrawable draw fadedrawable java 293 at com facebook drawee drawable forwardingdrawable draw forwardingdrawable java 140 at com facebook drawee generic genericdraweehierarchy rootdrawable draw genericdraweehierarchy java 133 at android widget imageview ondraw imageview java 984 any idea what could be cause this only seem to be happen specifically on android version 4 1 2 both on samsung device |
facebookfresco | simpledraweeview round inside scrollview overlap actionbar | Bug | when I put a rounded image inside an scrollview or a listview I get a weird behaviour while scroll to the bottom the image overlap the action bar and it keep there when I go up hrqgv this issue happen on a samsung s5 but when I run it on a nexus 4 it work perfectly |
facebookfresco | imagerequ setpostprocessor will cause the screen jump when recyclerview load more content | Bug | imagerequ setpostprocessor will cause the screen jump when recyclerview load more content |
facebookfresco | now image loading speed really fast but not particularly smooth slide | Bug | I have a gridview sensory integration 0 6 0 version when I scroll quickly to the head or tail image loading speed really fast a lot but find quickly scroll process some slow be not smooth |
facebookfresco | sample comparison error | Bug | 07 25 03 08 37 265 28158 28518 com facebook sample comparison e unknown jfifutil 2e0867cb getdimension java io ioexception no more byte at com facebook imageutil streamprocessor readpackedint streamprocessor java 34 at com facebook imageutil jfifutil movetomarker jfifutil java 129 at com facebook imageutil jfifutil getdimension jfifutil java 100 at com facebook imagepipeline image encodedimage parsemetadata encodedimage java 285 at com facebook imagepipeline producer addimagetransformmetadataproducer addimagetransformmetadataconsumer onnewresultimpl addimagetransformmetadataproducer java 46 at com facebook imagepipeline producer addimagetransformmetadataproducer addimagetransformmetadataconsumer onnewresultimpl addimagetransformmetadataproducer java 32 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producer multiplexproducer multiplexer onnextresult multiplexproducer java 442 at com facebook imagepipeline producer multiplexproducer multiplexer forwardingconsumer onnewresultimpl multiplexproducer java 499 at com facebook imagepipeline producer multiplexproducer multiplexer forwardingconsumer onnewresultimpl multiplexproducer java 496 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producers encodedmemorycacheproducer 1 onnewresultimpl encodedmemorycacheproducer java 88 at com facebook imagepipeline producers encodedmemorycacheproducer 1 onnewresultimpl encodedmemorycacheproducer java 83 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producer diskcacheproducer diskcacheconsumer onnewresultimpl diskcacheproducer java 184 at com facebook imagepipeline producer diskcacheproducer diskcacheconsumer onnewresultimpl diskcacheproducer java 165 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producer networkfetchproducer notifyconsumer networkfetchproducer java 167 at com facebook imagepipeline producer networkfetchproducer maybehandleintermediateresult networkfetchproducer java 145 at com facebook imagepipeline producer networkfetchproducer onresponse networkfetchproducer java 104 at com facebook imagepipeline producer networkfetchproducer access 000 networkfetchproducer java 37 at com facebook imagepipeline producer networkfetchproducer 1 onresponse networkfetchproducer java 72 at com facebook imagepipeline backend okhttp okhttpnetworkfetcher 2 onresponse okhttpnetworkfetcher java 117 at com squareup okhttp call asynccall execute call java 168 at com squareup okhttp internal namedrunnable run namedrunnable java 33 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 818 |
facebookfresco | fresco placeholderimagescaletype do not seem to have any effect in gridview | Bug | I ve get a simpledraweeview in a gridview with xml I m set the placeholder use hierarchy setplaceholderimage new bitmapdrawable context getresource iconplaceholder regardless of the value of fresco placeholderimagescaletype the placeholder scaling appear to be fitxy I e image aspect ratio not preserve scaling of the actual image be work great |
facebookfresco | simpledraweeview wrong scale when use rounded corner | Bug | when set both android layout width 60dp android layout height 80dp fresco roundedcornerradius 4dp fresco actualimagescaletype fitxy the image get rounded corner but the image draw be not fit the space I can just see the top left corner of the image load the image be big than the space |
facebookfresco | first frame of animate gif as placeholder image | Enhancement | be there a way to use the first frame of an animate gif as the placeholder image for a view this would ease the visual transition when load and reload animate gif if not I would love to see this add as a feature |
facebookfresco | onlevelchange gif issue | Enhancement | hi I think you can help I we be use your awesome library to show jpg png gif image with the progress bar with the jpeg and the png image everything work fine but when we load gif onlevelchange callback we get 10000 but the gif be show after 10 25 second how we can solve this issue cdae7426 2f96 11e5 8a50 01f95f54bc9f cdccd024 2f96 11e5 9efd 134532a199e2 |
facebookfresco | animation with png sequence | Enhancement | hi I be try to determine the viability of fresco for the animation in my app I have png sequence for each animation which be include as drawable resource in my project one png per frame name as frame 1 png frame 2 png etc my question be how can I get fresco to animate these frame for I in a simpledraweeview do it currently support this functionality |
facebookfresco | java util concurrent timeoutexception | Bug | java util concurrent timeoutexception com facebook common reference closeablereference finalize time out after 10 second at com facebook common reference closeablereference finalize closeablereference java 200 at java lang daemon finalizerdaemon dofinalize daemon java 187 at java lang daemon finalizerdaemon run daemon java 170 at java lang thread run thread java 841 |
facebookfresco | classcastexception in memory cache | Bug | java lang classcastexception com facebook imagepipeline cache countingmemorycache entry can not be cast to com facebook imagepipeline image closeableimage at com facebook imagepipeline cache bitmapcountingmemorycachefactory 1 getsizeinbyte bitmapcountingmemorycachefactory java 23 at com facebook imagepipeline cache countinglrumap getvaluesizeinbyte countinglrumap java 133 at com facebook imagepipeline cache countinglrumap put countinglrumap java 97 at com facebook imagepipeline cache countingmemorycache maybeaddtoexclusive countingmemorycache java 224 at com facebook imagepipeline cache countingmemorycache releaseclientreference countingmemorycache java 213 at com facebook imagepipeline cache countingmemorycache access 000 countingmemorycache java 44 at com facebook imagepipeline cache countingmemorycache 2 release countingmemorycache java 202 at com facebook common reference sharedreference deletereference sharedreference java 211 at com facebook common reference closeablereference close closeablereference java 146 at com facebook common reference closeablereference closesafely closeablereference java 265 at com facebook imagepipeline producers jobscheduler dojob jobscheduler java 217 at com facebook imagepipeline producers jobscheduler access 000 jobscheduler java 30 at com facebook imagepipeline producers jobscheduler 1 run jobscheduler java 68 at com facebook common executor serialdelegatingexecutor executesinglecommand serialdelegatingexecutor java 76 at com facebook common executor serialdelegatingexecutor access 000 serialdelegatingexecutor java 24 at com facebook common executor serialdelegatingexecutor 1 run serialdelegatingexecutor java 47 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at java lang thread run thread java 856 |
facebookfresco | exception in securehashutil initializer when build with maven | Bug | android version4 1 1 deviceu705 t java lang exceptionininitializererror at com facebook cache disk diskstoragecache getresourceid diskstoragecache java 626 at com facebook cache disk diskstoragecache getresource diskstoragecache java 197 at com facebook imagepipeline cache buffereddiskcache readfromdiskcache buffereddiskcache java 185 at com facebook imagepipeline cache buffereddiskcache access 300 buffereddiskcache java 38 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 104 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 88 at bolt task 2 run task java 195 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at java lang thread run thread java 856 cause by java lang arrayindexoutofboundsexception length 0 index 16 at com facebook common util securehashutil securehashutil java 76 at com facebook cache disk diskstoragecache getresourceid diskstoragecache java 626 at com facebook cache disk diskstoragecache getresource diskstoragecache java 197 at com facebook imagepipeline cache buffereddiskcache readfromdiskcache buffereddiskcache java 185 at com facebook imagepipeline cache buffereddiskcache access 300 buffereddiskcache java 38 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 104 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 88 at bolt task 2 run task java 195 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at java lang thread run thread java 856 |
facebookfresco | java lang illegalargumentexception | Bug | android version4 2 2 java lang illegalargumentexception at com facebook common internal precondition checkargument precondition java 108 at com facebook imagepipeline memory bitmapcounter decrease bitmapcounter java 64 at com facebook imagepipeline bitmap dalvikbitmapfactory 1 release dalvikbitmapfactory java 54 at com facebook imagepipeline bitmap dalvikbitmapfactory 1 release dalvikbitmapfactory java 50 at com facebook common reference sharedreference deletereference sharedreference java 211 at com facebook common reference closeablereference close closeablereference java 146 at com facebook imagepipeline image closeablestaticbitmap close closeablestaticbitmap java 81 at com facebook common internal closeable close closeable java 75 at com facebook common reference closeablereference 1 release closeablereference java 75 at com facebook common reference closeablereference 1 release closeablereference java 71 at com facebook common reference sharedreference deletereference sharedreference java 211 at com facebook common reference closeablereference close closeablereference java 146 at com facebook common reference closeablereference closesafely closeablereference java 265 at com facebook imagepipeline cache countingmemorycache releaseclientreference countingmemorycache java 216 at com facebook imagepipeline cache countingmemorycache access 000 countingmemorycache java 44 at com facebook imagepipeline cache countingmemorycache 2 release countingmemorycache java 202 at com facebook common reference sharedreference deletereference sharedreference java 211 at com facebook common reference closeablereference close closeablereference java 146 at com facebook common reference closeablereference closesafely closeablereference java 265 at com facebook drawee backend pipeline pipelinedraweecontroller releaseimage pipelinedraweecontroller java 127 at com facebook drawee backend pipeline pipelinedraweecontroller releaseimage pipelinedraweecontroller java 41 at com facebook drawee controller abstractdraweecontroller onnewresultinternal abstractdraweecontroller java 482 at com facebook drawee controller abstractdraweecontroller access 000 abstractdraweecontroller java 47 at com facebook drawee controller abstractdraweecontroller 1 onnewresultimpl abstractdraweecontroller java 413 at com facebook datasource basedatasubscriber onnewresult basedatasubscriber java 43 at com facebook datasource abstractdatasource 1 run abstractdatasource java 181 at android os handler handlecallback handler java 800 at android os handler dispatchmessage handler java 100 at android os looper loop looper java 194 at android app activitythread main activitythread java 5433 at java lang reflect method invokenative method java at java lang reflect method invoke method java 525 at com android internal os zygoteinit methodandargscaller run zygoteinit java 853 at com android internal os zygoteinit main zygoteinit java 620 at dalvik system nativestart main nativestart java |
facebookfresco | move zoomabledraweeview into fresco library | Enhancement | I wish to use fresco as the only il in my app without import uil and photoview which have currently no active maintainer please consider my suggestion thank |
facebookfresco | android tint be not take affect | Bug | hi I be simply use the follow declaration I need the tint on the image but its not appear at all kindly advice what be I miss here thank imran |
facebookfresco | mediatek chipset device crash when app use fresco sqlcipher camera permisson | Enhancement | the issue be that mediatek have a native bug that when bitmap decode configuration be set to argb 8888 and app request for camera permisson and app use database encryption with sqlcipher app crash on the native layer when bitmap be be decode we use a work around to detect mediatek chipset and use argb 4444 instead of 8888 reference could fresco provide a way to customize the bitmap decode configuration to something else like argb 4444 |
facebookfresco | jpeg use progressive render throw exception | Bug | 7940 9319 e unknown jfifutil 2a4996f5 getdimension java io ioexception no more byte at com facebook imageutil streamprocessor readpackedint streamprocessor java 34 at com facebook imageutil jfifutil movetomarker jfifutil java 129 at com facebook imageutil jfifutil getdimension jfifutil java 100 at com facebook imagepipeline producer addimagetransformmetadataproducer setencodedimagemetadata addimagetransformmetadataproducer java 64 at com facebook imagepipeline producer addimagetransformmetadataproducer access 100 addimagetransformmetadataproducer java 28 at com facebook imagepipeline producer addimagetransformmetadataproducer addimagetransformmetadataconsumer onnewresultimpl addimagetransformmetadataproducer java 53 at com facebook imagepipeline producer addimagetransformmetadataproducer addimagetransformmetadataconsumer onnewresultimpl addimagetransformmetadataproducer java 40 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producer multiplexproducer multiplexer onnextresult multiplexproducer java 442 at com facebook imagepipeline producer multiplexproducer multiplexer forwardingconsumer onnewresultimpl multiplexproducer java 499 at com facebook imagepipeline producer multiplexproducer multiplexer forwardingconsumer onnewresultimpl multiplexproducer java 496 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producers encodedmemorycacheproducer 1 onnewresultimpl encodedmemorycacheproducer java 88 at com facebook imagepipeline producers encodedmemorycacheproducer 1 onnewresultimpl encodedmemorycacheproducer java 83 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producer diskcacheproducer diskcacheconsumer onnewresultimpl diskcacheproducer java 184 at com facebook imagepipeline producer diskcacheproducer diskcacheconsumer onnewresultimpl diskcacheproducer java 165 at com facebook imagepipeline producer baseconsumer onnewresult baseconsumer java 49 at com facebook imagepipeline producer networkfetchproducer notifyconsumer networkfetchproducer java 167 at com facebook imagepipeline producer networkfetchproducer maybehandleintermediateresult networkfetchproducer java 145 at com facebook imagepipeline producer networkfetchproducer onresponse networkfetchproducer java 104 at com facebook imagepipeline producer networkfetchproducer access 000 networkfetchproducer java 37 at com facebook imagepipeline producer networkfetchproducer 1 onresponse networkfetchproducer java 72 at com koudai weidian buyer image imagefetcher weidiannetworkfetcher 1 run weidiannetworkfetcher java 74 at java util concurrent executors runnableadapter call executor java 422 at java util concurrent futuretask run futuretask java 237 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 818 |
facebookfresco | have fresco generate thumbnail | Enhancement | hi guy I m android developer who use fresco but I have some problem when I use fresco I m make a photo app but the original image be too large and throw too many image exception so I wanna control the imagepipeline to generate thumbnail use mediastore image medium insertimage and load the thumbnail bitmap but I didn t know how to do |
facebookfresco | npe for application context in producerfactory on initialization | Bug | cause by java lang nullpointerexception at android app contextimpl getasset contextimpl java 943 at android content contextwrapper getasset contextwrapper java 83 at com facebook imagepipeline core producerfactory producerfactory java 99 at com facebook imagepipeline core imagepipelinefactory getproducerfactory imagepipelinefactory java 189 |
facebookfresco | performance issue on long list and full width image | Bug | I be experience fresco simpledraweeview on recyclerview long list and full width image it s quite laggy I turn on gpu rendering in developer option and it jump to the top of the screen at some point I also try imageview with simple asynctask image loader which doesn t have cache it s pretty fast and smooth here be full testing spec nexus 5 enless recyclerview list full width image image size be quite small flexible list some item have text only some other item have image and text do you have any idea on how to fix this issue |
facebookfresco | uri doesn t support scheme protocol by ftp | Enhancement | how I do it |
facebookfresco | how to get cachesize and clearcache by code | Enhancement | how to get cachesize and clearcache by code |
facebookfresco | exif thumbnail display instead of original image | Bug | when try to display follow image cache in local use fresco with file only thumbnail from exif be display full image be not display image metadata can be view use this link how to reproduce 1 download image from 2 save image to sdcard as file name file storage emulate 0 cache image 0384d438b268f93f2ab1ded6b765ff33 3 code below imagerequ request1 imagerequestbuilder newbuilderwithsource uri parse file storage emulate 0 cache image 0384d438b268f93f2ab1ded6b765ff33 build imagerequ request request1 draweecontroller controller fresco newdraweecontrollerbuilder setfirstavailableimagerequest request setautoplayanimation true build simpledraweeview setcontroller controller |
facebookfresco | the fresco pipeline may be block | Bug | if use fresco to load an png with some error like the whole fresco my be block any image could be load any more |
facebookfresco | apk size issue | Duplicate | after implement fresco 0 5 2 our apk get increase in size be there any option to reduce the size we be use only simpledraweeview thank nithin |
facebookfresco | big size for imagepipeline folder | Duplicate | the imagepipeline folder exceed 4 mb of size which be a huge drawback for use the library it would be great if the folder itself get light I even try use the library along with proguard minifyenable but the result apk be almost 4 mb big than the original size we could opt out for the feature that use this folder for example the draweeview doesn t seem to need it |
facebookfresco | play an animate gif just once | Enhancement | I set the animation to run just once but it be not useful what do I do next |
facebookfresco | please make pressedstateoverlayimage support ripple effect | Enhancement | in fresco 0 5 2 set fresco pressedstateoverlayimage to a ripple drawable do not work currently I have to extend simpledraweeview like foregroundlinearlayout wish fresco support it thank |
facebookfresco | multiple animate gif play slow | Bug | use multiple simpledraweeview in a gridview display gif from re slow animation down it feel like there s a single thread manage all the frame count instead of have each view manage its own count note when display about 4 gif s simultaneous everything seem to work great at about 8 simpledraweeview in same screen all the gif play with lag how can I bypass that some code draweecontroller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable a setautoplayanimation true build draweeview simpledraweeview findviewbyid r i d my image view1 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable b setcontrollerlistener controllerlistener build draweeview simpledraweeview findviewbyid r i d my image view2 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable c setcontrollerlistener controllerlistener build draweeview simpledraweeview findviewbyid r i d my image view3 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable d setcontrollerlistener controllerlistener build draweeview simpledraweeview findviewbyid r i d my image view4 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable e setcontrollerlistener controllerlistener build draweeview simpledraweeview findviewbyid r i d my image view5 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable f setautoplayanimation true build draweeview simpledraweeview findviewbyid r i d my image view6 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable g setautoplayanimation true build draweeview simpledraweeview findviewbyid r i d my image view7 draweeview setcontroller controller controller fresco newdraweecontrollerbuilder seturi uri parse re r drawable h setautoplayanimation true build draweeview simpledraweeview findviewbyid r i d my image view8 draweeview setcontroller controller |
facebookfresco | error inflate class com facebook drawee view simpledraweeview | Bug | I get the follow error on around 2 of device run my app can not seem to sort it any thought my xml look like this xml stack trace java android view inflateexception binary xml file line 24 error inflate class com facebook drawee view simpledraweeview at android view layoutinflater createview layoutinflater java 617 at android view layoutinflater createviewfromtag layoutinflater java 691 at android view layoutinflater rinflate layoutinflater java 750 at android view layoutinflater rinflate layoutinflater java 753 at android view layoutinflater inflate layoutinflater java 489 at android view layoutinflater inflate layoutinflater java 396 at com tiikit tiik post cardsadapter oncreateviewholder cardsadapter java 128 at com tiikit tiik post cardsadapter oncreateviewholder cardsadapter java 37 at android support v7 widget recyclerview adapter createviewholder recyclerview java 5062 at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4368 at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4278 at android support v7 widget layoutstate next layoutstate java 86 at android support v7 widget staggeredgridlayoutmanager fill staggeredgridlayoutmanager java 1415 at android support v7 widget staggeredgridlayoutmanager onlayoutchildren staggeredgridlayoutmanager java 603 at android support v7 widget recyclerview dispatchlayout recyclerview java 2673 at android support v7 widget recyclerview onlayout recyclerview java 2971 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android support v4 widget swiperefreshlayout onlayout swiperefreshlayout java 562 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget relativelayout onlayout relativelayout java 948 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget relativelayout onlayout relativelayout java 948 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget linearlayout setchildframe linearlayout java 1649 at android widget linearlayout layoutvertical linearlayout java 1507 at android widget linearlayout onlayout linearlayout java 1420 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget linearlayout setchildframe linearlayout java 1649 at android widget linearlayout layoutvertical linearlayout java 1507 at android widget linearlayout onlayout linearlayout java 1420 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android view viewrootimpl performlayout viewrootimpl java 1984 at android view viewrootimpl performtraversal viewrootimpl java 1805 at android view viewrootimpl dotraversal viewrootimpl java 1116 at android view viewrootimpl traversalrunnable run viewrootimpl java 4370 at android view choreographer callbackrecord run choreographer java 725 at android view choreographer docallback choreographer java 555 at android view choreographer doframe choreographer java 525 at android view choreographer framedisplayeventreceiver run choreographer java 711 at android os handler handlecallback handler java 667 at android os handler dispatchmessage handler java 112 at android os looper loop looper java 137 at android app activitythread main activitythread java 4873 at java lang reflect method invokenative method java at java lang reflect method invoke method java 528 at com android internal os zygoteinit methodandargscaller run zygoteinit java 786 at com android internal os zygoteinit main zygoteinit java 553 at dalvik system nativestart main nativestart java cause by java lang reflect invocationtargetexception at java lang reflect constructor constructnative constructor java at java lang reflect constructor log newinstance constructor java 434 at android view layoutinflater createview layoutinflater java 590 at android view layoutinflater createviewfromtag layoutinflater java 691 at android view layoutinflater rinflate layoutinflater java 750 at android view layoutinflater rinflate layoutinflater java 753 at android view layoutinflater inflate layoutinflater java 489 at android view layoutinflater inflate layoutinflater java 396 at com tiikit tiik post cardsadapter oncreateviewholder cardsadapter java 128 at com tiikit tiik post cardsadapter oncreateviewholder cardsadapter java 37 at android support v7 widget recyclerview adapter createviewholder recyclerview java 5062 at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4368 at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4278 at android support v7 widget layoutstate next layoutstate java 86 at android support v7 widget staggeredgridlayoutmanager fill staggeredgridlayoutmanager java 1415 at android support v7 widget staggeredgridlayoutmanager onlayoutchildren staggeredgridlayoutmanager java 603 at android support v7 widget recyclerview dispatchlayout recyclerview java 2673 at android support v7 widget recyclerview onlayout recyclerview java 2971 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android support v4 widget swiperefreshlayout onlayout swiperefreshlayout java 562 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget relativelayout onlayout relativelayout java 948 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget relativelayout onlayout relativelayout java 948 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget linearlayout setchildframe linearlayout java 1649 at android widget linearlayout layoutvertical linearlayout java 1507 at android widget linearlayout onlayout linearlayout java 1420 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget linearlayout setchildframe linearlayout java 1649 at android widget linearlayout layoutvertical linearlayout java 1507 at android widget linearlayout onlayout linearlayout java 1420 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android view viewrootimpl performlayout viewrootimpl java 1984 at android view viewrootimpl performtraversal viewrootimpl java 1805 at android view viewrootimpl dotraversal viewrootimpl java 1116 at android view viewrootimpl traversalrunnable run viewrootimpl java 4370 at android view choreographer callbackrecord run choreographer java 725 at android view choreographer docallback choreographer java 555 at android view choreographer doframe choreographer java 525 at android view choreographer framedisplayeventreceiver run choreographer java 711 at android os handler handlecallback handler java 667 at android os handler dispatchmessage handler java 112 at android os looper loop looper java 137 at android app activitythread main activitythread java 4873 at java lang reflect method invokenative method java at java lang reflect method invoke method java 528 at com android internal os zygoteinit methodandargscaller run zygoteinit java 786 at com android internal os zygoteinit main zygoteinit java 553 at dalvik system nativestart main nativestart java cause by java lang nullpointerexception at com facebook drawee view draweeview tostring draweeview java 179 at java lang stringbuilder append stringbuilder java 202 at java util abstractcollection tostre abstractcollection java 383 at java util formatter transform formatter java 1419 at java util formatter doformat formatter java 1079 at java util formatter format formatter java 1040 at java util formatter format formatter java 1009 at java lang string format string java 2050 at java lang string format string java 2024 at android droidblaze viewpool findviewsbyidpair viewpool java 88 at android droidblaze viewpool updateview viewpool java 75 at android view view onidchange view java 11779 at android view view view java 3590 at android widget imageview imageview java 114 at android widget imageview imageview java 110 at com facebook drawee view draweeview draweeview java 51 at com facebook drawee view genericdraweeview genericdraweeview java 74 at com facebook drawee view simpledraweeview simpledraweeview java 58 at java lang reflect constructor constructnative constructor java at java lang reflect constructor log newinstance constructor java 434 at android view layoutinflater createview layoutinflater java 590 at android view layoutinflater createviewfromtag layoutinflater java 691 at android view layoutinflater rinflate layoutinflater java 750 at android view layoutinflater rinflate layoutinflater java 753 at android view layoutinflater inflate layoutinflater java 489 at android view layoutinflater inflate layoutinflater java 396 at com tiikit tiik post cardsadapter oncreateviewholder cardsadapter java 128 at com tiikit tiik post cardsadapter oncreateviewholder cardsadapter java 37 at android support v7 widget recyclerview adapter createviewholder recyclerview java 5062 at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4368 at android support v7 widget recyclerview recycler getviewforposition recyclerview java 4278 at android support v7 widget layoutstate next layoutstate java 86 at android support v7 widget staggeredgridlayoutmanager fill staggeredgridlayoutmanager java 1415 at android support v7 widget staggeredgridlayoutmanager onlayoutchildren staggeredgridlayoutmanager java 603 at android support v7 widget recyclerview dispatchlayout recyclerview java 2673 at android support v7 widget recyclerview onlayout recyclerview java 2971 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android support v4 widget swiperefreshlayout onlayout swiperefreshlayout java 562 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget relativelayout onlayout relativelayout java 948 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget relativelayout onlayout relativelayout java 948 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget linearlayout setchildframe linearlayout java 1649 at android widget linearlayout layoutvertical linearlayout java 1507 at android widget linearlayout onlayout linearlayout java 1420 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget linearlayout setchildframe linearlayout java 1649 at android widget linearlayout layoutvertical linearlayout java 1507 at android widget linearlayout onlayout linearlayout java 1420 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android widget framelayout onlayout framelayout java 448 at android view view layout view java 14085 at android view viewgroup layout viewgroup java 4395 at android view viewrootimpl performlayout viewrootimpl java 1984 at android view viewrootimpl performtraversal viewrootimpl java 1805 at android view viewrootimpl dotraversal viewrootimpl java 1116 at android view viewrootimpl traversalrunnable run viewrootimpl java 4370 at android view choreographer callbackrecord run choreographer java 725 at android view choreographer docallback choreographer java 555 at android view choreographer doframe choreographer java 525 at android view choreographer framedisplayeventreceiver run choreographer java 711 at android os handler handlecallback handler java 667 at android os handler dispatchmessage handler java 112 at android os looper loop looper java 137 at android app activitythread main activitythread java 4873 at java lang reflect method invokenative method java at java lang reflect method invoke method java 528 at com android internal os zygoteinit methodandargscaller run zygoteinit java 786 at com android internal os zygoteinit main zygoteinit java 553 at dalvik system nativestart main nativestart java |
facebookfresco | google map marker image display not work | Bug | ok dude I don t know how to fix this one I have a google map with marker use info window consist of an image and a title as the image be download retrieve from cache when a marker be click I use to use the image download callback in uil to call adapter getinfocontent marker this call a refresh of the image and it would draw correctly now however I be use the code outline in the doc this work everywhere but a google map public void loadimageforinfowindow final myinfowindowadapter adapter final marker marker final simpledraweeview draweeview uri imageuri final textview progressmessage int imageonfailid controllerlistener controllerlistener new basecontrollerlistener override public void onfinalimageset string i d nullable imageinfo imageinfo nullable animatable anim if imageinfo null return qualityinfo qualityinfo imageinfo getqualityinfo flog d final image receive size d x d quality level d good enough s full quality s imageinfo getwidth imageinfo getheight qualityinfo getquality qualityinfo isofgoodenoughquality qualityinfo isoffullquality progressmessage setvisibility view go adapter getinfocontent marker override public void onintermediateimageset string i d nullable imageinfo imageinfo flog d intermediate image receive override public void onfailure string i d throwable throwable flog e getclass throwable error loading s i d progressmessage setvisibility view go draweecontroller controller fresco newdraweecontrollerbuilder setcontrollerlistener controllerlistener seturi imageuri other setter build draweeview setcontroller controller where getinfocontent be override public view getinfocontent marker marker if marker null marker isinfowindowshown marker hideinfowindow marker showinfowindow return null none of those callback trigger when implement on a google map be there anything I can do |
facebookfresco | how to keep session in fresco with okhttp or add cookie before image uri call | Bug | I login my server use retrofit with okhttp I login use the retrofit with okhttp to the server and I save cookie at preference java client new okhttpclient client interceptor add new addcookiesinterceptor client interceptor add new receivedcookiesinterceptor addcookiesinterceptor java java public class addcookiesinterceptor implement interceptor override public response intercept chain chain throw ioexception request builder builder chain request newbuild hashset preference hashset preferencehelper getdefaultpreference getstringset preferencehelper pref cookie new hashset for string cookie preference builder addheader cookie cookie log v okhttp add header cookie this be do so I know which header be be add this interceptor be use after the normal logging of okhttp return chain proceed builder build receivedcookiesinterceptor java java public class receivedcookiesinterceptor implement interceptor override public response intercept interceptor chain chain throw ioexception response originalresponse chain proceed chain request if originalresponse header set cookie isempty hashset cookie new hashset for string header originalresponse header set cookie cookie add header preferencehelper getdefaultpreference edit putstringset preferencehelper pref cookie cookie apply return originalresponse and then I initialize fresco java imagepipelineconfig config okhttpimagepipelineconfigfactory newbuilder this customrestadapter getclient build fresco initialize this config public static directfoldertinterface getinstance if directfoldertinterface null client new okhttpclient client setconnecttimeout 1500 timeunit millisecond client setwritetimeout 1500 timeunit millisecond client setreadtimeout 1500 timeunit millisecond client interceptor add new addcookiesinterceptor client interceptor add new receivedcookiesinterceptor but fresco can t load image I think the problem be cookie how to keep session in fresco with okhttp or add cookie before image uri call |
facebookfresco | defaultzoomablecontroller add max scale factor | Duplicate | add max scale factor and setter for each min max scale factor to defaultzoomablecontroller |
facebookfresco | open resource from other package | Enhancement | please add support for load uri image from resource of other package name app example android resource some packagename identifi resource i d |
facebookfresco | add missing language for documentation | Duplicate | add miss available language korean for the documentation in readme |
facebookfresco | unable to render simpledraweeview in androidstudio ui builder | Bug | the follow class could not be instantiate com facebook drawee view simpledraweeview open class show exception clear cache tip use view isineditmode in your custom view to skip code or show sample datum when show in the ide stacktrace java lang nullpointerexception at com facebook drawee view draweeview setimagedrawable draweeview java 140 at android widget imageview imageview java 148 at android widget imageview imageview java 135 at android widget imageview imageview java 131 at com facebook drawee view draweeview draweeview java 51 at com facebook drawee view genericdraweeview genericdraweeview java 74 at com facebook drawee view simpledraweeview simpledraweeview java 58 at sun reflect nativeconstructoraccessorimpl newinstance0 native method at sun reflect nativeconstructoraccessorimpl newinstance nativeconstructoraccessorimpl java 39 at sun reflect delegatingconstructoraccessorimpl newinstance delegatingconstructoraccessorimpl java 27 at java lang reflect constructor newinstance constructor java 513 at org jetbrains android uipreview viewloader createnewinstance viewloader java 438 at org jetbrains android uipreview viewloader loadclass viewloader java 155 at org jetbrains android uipreview viewloader loadview viewloader java 94 at com android tool idea render layoutlibcallbackimpl loadview layoutlibcallbackimpl java 190 at android view bridgeinflater loadcustomview bridgeinflater java 214 at android view bridgeinflater createviewfromtag bridgeinflater java 142 at android view layoutinflater rinflate original layoutinflater java 806 at android view layoutinflater delegate rinflate layoutinflater delegate java 64 at android view layoutinflater rinflate layoutinflater java 782 at android view layoutinflater delegate parseinclude layoutinflater delegate java 154 at android view layoutinflater parseinclude layoutinflater java 858 at android view layoutinflater rinflate original layoutinflater java 802 at android view layoutinflater delegate rinflate layoutinflater delegate java 64 at android view layoutinflater rinflate layoutinflater java 782 at android view layoutinflater delegate parseinclude layoutinflater delegate java 154 at android view layoutinflater parseinclude layoutinflater java 858 at android view layoutinflater rinflate original layoutinflater java 802 at android view layoutinflater delegate rinflate layoutinflater delegate java 64 at android view layoutinflater rinflate layoutinflater java 782 at android view layoutinflater rinflate original layoutinflater java 809 at android view layoutinflater delegate rinflate layoutinflater delegate java 64 at android view layoutinflater rinflate layoutinflater java 782 at android view layoutinflater inflate layoutinflater java 504 at android view layoutinflater inflate layoutinflater java 385 at com android layoutlib bridge impl rendersessionimpl inflate rendersessionimpl java 413 at com android layoutlib bridge bridge createsession bridge java 321 at com android ide common render layoutlibrary createsession layoutlibrary java 350 at com android tool idea render rendertask 2 compute rendertask java 511 at com android tool idea render rendertask 2 compute rendertask java 499 at com intellij openapi application impl applicationimpl runreadaction applicationimpl java 888 at com android tool idea render rendertask createrendersession rendertask java 499 at com android tool idea render rendertask access 600 rendertask java 72 at com android tool idea render rendertask 3 call rendertask java 611 at com android tool idea render rendertask 3 call rendertask java 608 at com android tool idea render renderservice runrenderaction renderservice java 363 at com android tool idea render rendertask render rendertask java 608 at com android tool idea render rendertask render rendertask java 630 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager dorender androidlayoutpreviewtoolwindowmanager java 645 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager access 1700 androidlayoutpreviewtoolwindowmanager java 80 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager 7 1 run androidlayoutpreviewtoolwindowmanager java 587 at com intellij openapi progress impl coreprogressmanager 2 run coreprogressmanager java 152 at com intellij openapi progress impl coreprogressmanager registerindicatorandrun coreprogressmanager java 452 at com intellij openapi progress impl coreprogressmanager executeprocessunderprogress coreprogressmanager java 402 at com intellij openapi progress impl progressmanagerimpl executeprocessunderprogress progressmanagerimpl java 54 at com intellij openapi progress impl coreprogressmanager runprocess coreprogressmanager java 137 at org jetbrains android uipreview androidlayoutpreviewtoolwindowmanager 7 run androidlayoutpreviewtoolwindowmanager java 582 at com intellij util ui update mergingupdatequeue execute mergingupdatequeue java 320 at com intellij util ui update mergingupdatequeue execute mergingupdatequeue java 310 at com intellij util ui update mergingupdatequeue 2 run mergingupdatequeue java 254 at com intellij util ui update mergingupdatequeue flush mergingupdatequeue java 269 at com intellij util ui update mergingupdatequeue flush mergingupdatequeue java 227 at com intellij util ui update mergingupdatequeue run mergingupdatequeue java 217 at com intellij util concurrency queueprocessor runsafely queueprocessor java 238 at com intellij util alarm request 1 run alarm java 351 at java util concurrent executors runnableadapter call executor java 439 at java util concurrent futuretask sync innerrun futuretask java 303 at java util concurrent futuretask run futuretask java 138 at java util concurrent threadpoolexecutor worker runtask threadpoolexecutor java 895 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 918 at java lang thread run thread java 695 |
facebookfresco | need user agent add to http header | Enhancement | hi like subject fresco can not recognize the url be valid without image extension this be a example url here do fresco not support this kind of url or anybody know to solve this problem logcat unable to decode stream java io filenotfoundexception https lh3 googleusercontent com jou5dhqyc glytujuonqqb6ukfihl1d ywqi 49z kbn3attyri6dziwipdixn31ndq h310 open fail enoent no such file or directory 06 15 13 48 27 456 22524 22524 I system out resolveuri fail on bad bitmap uri |
facebookfresco | unable to execute dex method i d not in 0 0xffff 65536 | Duplicate | iam work with eclipse fresco be too large to use |
facebookfresco | animate gif loading slow than 0 4 0 | Bug | in 0 5 1 animate gif s animation begining be delay noticeably than before compare with 0 4 0 |
facebookfresco | question about use a touch image view | Enhancement | hello we work on incorporate fresco into our code base and be have a hard time incorporate it with our touchimageview we use a custom touch image view to support zooming pan an image the code that we re use be similar to that find here the problem be that these be all matrix base operation on the imageview and all of these operation involve use the drawable intrinsic width height this doesn t work for we out of the box with fresco because genericdraweehierarchy force it s root drawable to return intrinsic width height of 1 to get around this problem we ve make our own implementation of draweehierarchy that be the exact same as genericdraweehierarchy with the only difference be that it doesn t over ride intrinsic width height in the rootfadedrawable we then leave it to the logic in our view to make sure that the final image be set on our view before apply any matrix operation so that the height width doesn t change upon image load do this seem like a reasonable solution to you or be there problem that we may not be consider I m assume that the reason you choose to overwrite the intrinsic width height property be because these value will change until the final image be load be that correct or be there other reason as well thank for your help |
facebookfresco | filenotfoundexception too many open file | Bug | after scroll for a while I always get this exception java io filenotfoundexception datum datum com facebook sample comparison cache imagepipeline cache v2 ols100 1 7 kgxrhijgegctot 4zx4dzpgjnbg cnt open fail emfile too many open file at libcore io iobridge open iobridge java 409 at java io fileinputstream fileinputstream java 78 at com facebook binaryresource filebinaryresource openstream filebinaryresource java 36 at com facebook imagepipeline cache buffereddiskcache readfromdiskcache buffereddiskcache java 196 at com facebook imagepipeline cache buffereddiskcache access 300 buffereddiskcache java 38 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 104 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 88 at bolt task 2 run task java 195 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at java lang thread run thread java 841 cause by libcore io errnoexception open fail emfile too many open file at libcore io posix open native method at libcore io blockguardo open blockguardo java 110 at libcore io iobridge open iobridge java 393 at java io fileinputstream fileinputstream java 78 at com facebook binaryresource filebinaryresource openstream filebinaryresource java 36 at com facebook imagepipeline cache buffereddiskcache readfromdiskcache buffereddiskcache java 196 at com facebook imagepipeline cache buffereddiskcache access 300 buffereddiskcache java 38 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 104 at com facebook imagepipeline cache buffereddiskcache 1 call buffereddiskcache java 88 at bolt task 2 run task java 195 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at java lang thread run thread java 841 |
facebookfresco | sipledraweeview setimageuri be not work for native resource | Bug | my code final simpledraweeview imageview simpledraweeview findviewbyid r i d backdrop resource resource getresource final int resid cheese getrandomcheesedrawable final uri uri uri parse contentresolver scheme android resource resource getresourcepackagename resid resource getresourcetypename resid resource getresourceentryname resid imageview setimageuri uri if I use imageview it can work but when I use simpledraweeview it do not work why can someone help I |
facebookfresco | how to stop load when I scroll listview very fast | Duplicate | just like the imageloader mlistview setonscrolllistener new pauseonscrolllistener imageloader getinstance false true if fresco can do this it will be wonderful |
facebookfresco | q animate gif decoding still use dvm heap and cause oom issue | Bug | hi we use fresco to download and display many animate gif in our app ten of gif in one scrolled page and many page can be switch we be see a lot of gif decode oom issue report from bug reporter like this java lang outofmemoryerror at android graphic bitmap nativecreate native method at android graphic bitmap createbitmap bitmap java 718 at android graphic bitmap createbitmap bitmap java 695 at android graphic bitmap createbitmap bitmap java 662 at com facebook imagepipeline animate impl animateddrawablecachingbackendimpl createnewbitmap animateddrawablecachingbackendimpl java 147 at com facebook imagepipeline animate impl animateddrawablecachingbackendimpl obtainbitmapinternal animateddrawablecachingbackendimpl java 340 at com facebook imagepipeline animate impl animateddrawablecachingbackendimpl runprefetch animateddrawablecachingbackendimpl java 450 at com facebook imagepipeline animate impl animateddrawablecachingbackendimpl access 200 animateddrawablecachingbackendimpl java 52 at com facebook imagepipeline animate impl animateddrawablecachingbackendimpl 3 call animateddrawablecachingbackendimpl java 410 at bolt task 2 run task java 195 at com facebook common executor constrainedexecutorservice worker run constrainedexecutorservice java 178 at com facebook common executor serialdelegatingexecutor executesinglecommand serialdelegatingexecutor java 76 at com facebook common executor serialdelegatingexecutor access 000 serialdelegatingexecutor java 24 at com facebook common executor serialdelegatingexecutor 1 run serialdelegatingexecutor java 47 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at java lang thread run thread java 856 so our question be that gif decoding still be do on dvm heap not native heap be there any plan to support on native heap just like png decode here be some info about how we use fresco in this case we include fresco as follow dependency compile com facebook fresco fresco 0 4 0 final uri gifuri uri parse gifurl draweecontroller controller fresco newdraweecontrollerbuilder seturi gifuri setautoplayanimation true build cache gifimage setcontroller controller please help thank you |
facebookfresco | expose file path of cache image | Enhancement | my application support offline image display it sync application content include image use a background service I need fresco to be able to check if download image already exist in local if not then download it from internet and save image to a cache then cache image could later be refer by webview img tag use file reason for do all these be to save bandwidth by prevent app download image twice download image when view it in listview through fresco simpledraweeview then download second time in webview I be able to achieve this by use current universal image loader implementation diskcache new unlimiteddisccache filemanagerimage getpath null new md5filenamegeneratorex it point the cache folder and cache file name format to same folder where image be save same folder and same file name format download use backend service I have read fresco get start there be a way to change folder where cache file be save but the folder contain sub folder structure plus I don t see anyway to format the file name any idea how I could archive above requirement again simple requirement 1 by give a uri I need to pre download it which can be later pick up by fresco as cache image 2 by give a uri I need to be able to locate image on the disk and use it directly use file |
facebookfresco | custom header for every image request | Enhancement | our app have a gridview which contain a lot of image from different source some image have its custom referer we have to request they with different custom header be there any chance to change the header dynamically by use fresco okhttpclient |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.