Code example for TransitionDrawable

Methods: startTransition

0
            return; 
        } 
 
        if (mShouldAnimateThumb) {
        	//mThumbTransition.setLevel(2); 
            mThumbTransition.startTransition(duration);
            mShouldAnimateThumb = false;
        } 
    } 
 
    public void updateThumb(Bitmap original) {
    	updateThumb(original, 0, true);
    } 
     
    public void updateThumb(Bitmap original, int degrees, boolean useTransition) {
        if (original == null) {
            mThumb = null;
            mThumbs = null;
            return; 
        }