Fresco: How can i get Bitmp before the picture display?

Created on 14 Mar 2016  Â·  1Comment  Â·  Source: facebook/fresco

How can i get Bitmp before the picture display? if I want show picture with full Screen width,Height according to the width of the display image isometric?thanks。

Most helpful comment

This example: http://frescolib.org/docs/listening-download-events.html#usage shows you how to get the image dimensions, but since it doesn't have a reference to the drawee itself, you could achieve this only by making it final and referencing it inside the controller, but this wouldn't work in a recyclerview/adapter scheme, I guess.

>All comments

This example: http://frescolib.org/docs/listening-download-events.html#usage shows you how to get the image dimensions, but since it doesn't have a reference to the drawee itself, you could achieve this only by making it final and referencing it inside the controller, but this wouldn't work in a recyclerview/adapter scheme, I guess.

Was this page helpful?
0 / 5 - 0 ratings