protected final void setResultImage ( final ImageConsumer consumer , final ImageResult result , final boolean animate ) { decorateResult ( consumer , result ) ; consumer . setImage ( createDrawable ( result . getBitmap ( ) ) , animate ) ; consumer . reset ( ) ; }
It must be executed in the main thread .