private void setDecodedBitmap ( Bitmap bitmap ) { if ( mState != State . DECODING ) { mBitmap = null ; return ; } mBitmap = bitmap ; mState = State . DECODED ; mDrawingView . setDirty ( ) ; }
otherwise set bitmap update state send to memory cache and notify drawing view