typewriterview/src/main/java/in/codeshuffle/typewriterview/TypeWriterView.java
private void playMusic() {
        if (mWithMusic) {
            mPlayer = MediaPlayer.create(getContext(), R.raw.typing);
            mPlayer.setLooping(true);
            mPlayer.start();
        }
    }
/**
     * plays music of type writer as characters are displayed, using MediaPlayer API
     */
plays music of type writer as characters are displayed, using MediaPlayer API
plays music of type writer as characters are displayed using MediaPlayer API
private void playMusic() {
        if (mWithMusic) {
            mPlayer = MediaPlayer.create(getContext(), R.raw.typing);
            mPlayer.setLooping(true);
            mPlayer.start();
        }
    }
private void playMusic ( ) { if ( mWithMusic ) { mPlayer = MediaPlayer . create ( getContext ( ) , R . raw . typing ) ; mPlayer . setLooping ( true ) ; mPlayer . start ( ) ; } }
plays music of type writer as characters are displayed, using MediaPlayer API
plays music of type writer as characters are displayed using MediaPlayer API