typewriterview/src/main/java/in/codeshuffle/typewriterview/TypeWriterView.java
public void removeAnimation() {
        mHandler.removeCallbacks(mCharacterAdder);

        if (mWithMusic && mPlayer != null && mPlayer.isPlaying())
            mPlayer.stop();

        animating = false;
        setText(mPrintingText);

        //typing removed
        if (mTypeWriterListener != null)
            mTypeWriterListener.onTypingRemoved(mPrintingText);
    }
/**
     * Call this to remove animation at any time
     */
Call this to remove animation at any time
Call this to remove animation at any time
public void removeAnimation() {
        mHandler.removeCallbacks(mCharacterAdder);
        if (mWithMusic && mPlayer != null && mPlayer.isPlaying())
            mPlayer.stop();
        animating = false;
        setText(mPrintingText);
        if (mTypeWriterListener != null)
            mTypeWriterListener.onTypingRemoved(mPrintingText);
    }
public void removeAnimation ( ) { mHandler . removeCallbacks ( mCharacterAdder ) ; if ( mWithMusic && mPlayer != null && mPlayer . isPlaying ( ) ) mPlayer . stop ( ) ; animating = false ; setText ( mPrintingText ) ; if ( mTypeWriterListener != null ) mTypeWriterListener . onTypingRemoved ( mPrintingText ) ; }
Call this to remove animation at any time
Call this to remove animation at any time
//typing removed