Fresco: Get a bitmap from SimpleDraweeView

Created on 26 Oct 2015  ·  3Comments  ·  Source: facebook/fresco

Is it possible to get the bitmap which is being displayed by the SimpleDraweeView ?

All 3 comments

From the SimpleDraweeView you can get the DraweeHierarchy and the current Drawable. If it's a BitmapDrawable, or any other Drawable implementation that publish the related image, you can get the related Bitmap.

Sounds good,thanks!

Was this page helpful?
0 / 5 - 0 ratings