Search code examples
androidfresco

Does Android Fresco Library for android API work in DP or PX?


This may seem a simple question, but I am not able to find the answer anywhere.

When dealing the APIs of Facebook's Fresco, are the variables related to sizing defined in PX or DP?

Regards,


Solution

  • As pskink pointed, the values turned out to be in PX. Below the reference URL: http://frescolib.org/javadoc/reference/com/facebook/imagepipeline/common/ResizeOptions.html