How to make sure that Fresco will render all images successfully? Android

1.1k views Asked by At

I have an optimized RecyclerView. Images to the items of this RecyclerView are rendered by Fresco. It works well. But if I scroll RecyclerView too fast, some of items remain empty. How can I control whether loading was successful, and how to try again if it was failed?

1

There are 1 answers

1
Eli Kohen On BEST ANSWER

As stated in their docs, you can add ControllerListener to get the download events: http://frescolib.org/docs/listening-download-events.html#_

You retry on the onFailure or log or do whatever you require.

I hope this helps