Code example for Drawable

Methods: getCurrent

0
        mDrawable.jumpToCurrentState();
    } 
 
    @Override 
    public Drawable getCurrent() {
        return mDrawable.getCurrent();
    } 
 
    @Override 
    public boolean setVisible(boolean visible, boolean restart) {
        return super.setVisible(visible, restart) || mDrawable.setVisible(visible, restart);
    } 
 
    @Override 
    public int getOpacity() { 
        return mDrawable.getOpacity();
    } 
 
    @Override 
    public Region getTransparentRegion() {
        return mDrawable.getTransparentRegion();