• S
    Add a DrawableTransformation that runs wrapped BitmapTransformations. · 90f1cc93
    Sam Judd 提交于
    The transformation uses the same logic used by the ResourceBitmapDecoder
    to try to convert non-Bitmap Drawables to BitmapDrawables. Exceptions 
    are thrown that will cause the load to fail if the conversion can’t happen. The primary benefit of this approach is that transformations
    work similarly for the non-Bitmap Drawables that we’re now decoding. 
    Unfortunately this isn’t a super efficient process, so hopefully it’s
    rare. 
    90f1cc93
ResourceBitmapDecoder.java 2.3 KB