Questions tagged [fresco]

Fresco is an Android library (supports Android 2.3 and above) developed by Facebook and dedicated to image loading. It handles such image operations as downloading, caching, transforming and drawing. Fresco provides useful out of the box features like progressive JPEG streaming and offers a lot of customization.

When handling images on a mobile device, a lot of things can go wrong - from failed network connection up to getting OOM crashes. One may also need to customize an image's appearance for which the Android system provides very few out of the box solutions.

That's basically what Fresco does: loading (network layer), displaying (animated GIF's, circle transformations etc.), handling (memory/disk cache, managing the cache).

Read more:

360 questions
0
votes
2 answers

Picasso vs Fresco

I am working on one Photo Editing Application. For that application i was using Universal Image Loader Library. But while using this library i got some issues like when i am trying to load more than four images i get java.lang.OutOfMemoryError…
NIkhar Bhavsar
  • 102
  • 1
  • 10
0
votes
1 answer

Fresco: SimpleDraweeView is always reseting

I have a SimpleDraweeView that is processing an image request through a controller: Postprocessor redMeshPostprocessor = new BasePostprocessor() { @Override public String getName() { return…
Ziad Halabi
  • 964
  • 11
  • 31
0
votes
0 answers

Multiple requests going in case of request close (Fresco + OkHttp)

I am using Fresco with OkHttp 2.7.4. By default the image request from the previous activity won't get canceled when we switch to a new activity. This makes the new activity load slower as previous requests are still running. So I am closing the all…
Chethan N
  • 1,110
  • 1
  • 9
  • 23
0
votes
0 answers

fresco can't load image in disk again in second activity

I have two activities(A and B). The first activity (A) can show a thumbnail image(ImageC) using fresco. I want to show a full image(ImageC) if user clicks the thumbnail. So I made a second activity(B) to show the same image but full…
0
votes
1 answer

Android ignore library minsdk in build

build.gradle has minSdkVersion 8 I am trying to compile fresco which required minimumsdk 9 compile 'com.facebook.fresco:fresco:0.9.0+' I get a sync error Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed :…
DeveloperDH
  • 443
  • 5
  • 16
0
votes
1 answer

Android, Fresco Gif displaying in recyclerview, with start and stop "onClick"

I'm trying to achieve something like 9gag, where you have a list of gifs inside a recyclerview and you can start&stop each of them within a click on the image. I can implement such feature on my own, but i was wondering if any of the current image…
bailando bailando
  • 2,121
  • 2
  • 13
  • 17
0
votes
1 answer

Fresco drawee view hierarchy onFailure getting called even for successful load of images from uri

I am trying to replace the drawee view with my own custom view when the image load from given uri fails(in which case the drawee view remains blank). So to check if the load has failed I used mThumbnail.getHierarchy().setFailure(new…
0
votes
1 answer

difference between Drawee and ImagePipeline in Fresco Image Loading Library

I am using Fresco Image Loader in my application in which uri is loaded into SimpleDraweeView. I have a list of images, sometimes i load the same image into two different views. In this case does fresco loads the image from cache into…
0
votes
2 answers

Android: Viewpager cannot cast to LinearLayout

Hi I am using viewpager to show a image slide. And I am loading the images and text from the network using volley. I am getting the error like this. java.lang.ClassCastException: android.support.v4.view.ViewPager cannot be cast to…
Encipherer
  • 411
  • 7
  • 23
0
votes
1 answer

Fresco : Display Wrong Image in listitems

I am using fersco library for loading local image. Initially i am displaying placeholder image in each item.Once the image is downloaded then i am storing that image in to local path and then load image via setImageUri function. If i am scrolling…
Arun
  • 510
  • 1
  • 4
  • 21
0
votes
1 answer

Fresco : How to add bitmap to cache?

My scenario is : I am creating a new bitmap and save to local path then display the image in SimpleDraweeView. If i am using SDV.setImageUri(path) sometimes image is not displayed. So i am using mImageView.setImageDrawable(new…
Arun
  • 510
  • 1
  • 4
  • 21
0
votes
0 answers

Fresco Issuses : Image is not display in SimpleDraweeView

I am loading image from local path, image is available in particular path but its not shown in SDV if i am getting below log D/skia: --- decoder->decode returned false D/skia: --- decoder->decode returned false I am getting this log multiple times,…
Arun
  • 510
  • 1
  • 4
  • 21
0
votes
0 answers

Circular reveal animation with Fresco

I need to make a circular reveal animation after the image is loaded by fresco in my android app. I listen to the download events as described here; http://frescolib.org/docs/listening-download-events.html#_ In the onFinalImageSet event I run the…
syloc
  • 4,569
  • 5
  • 34
  • 49
0
votes
1 answer

SimpleDraweeView in Collapsible Toolbar not showing image

Hi i am not sure why this is not working also not sure if this is possible but here is what i am trying to do. I have a SimpleDraweeView which is contained inside a collapsingtoolbarlayout and i am trying to load an image into it. …
0
votes
0 answers

upload Image in Android through glide or fresco?

Are there some good libraries for upload option for an image form gallery or a new camera capture in android. can we upload image through glide or fresco library or some other library?
Saurabh Verma
  • 79
  • 1
  • 5