samples/Support4Demos/src/main/java/com/example/android/supportv4/media/Playback.java
@Override
    public void onCompletion(MediaPlayer player) {
        Log.d(TAG, "onCompletion from MediaPlayer");
        // The media player finished playing the current song, so we go ahead
        // and start the next.
        if (mCallback != null) {
            mCallback.onCompletion();
        }
    }
/**
     * Called when media player is done playing current song.
     *
     * @see android.media.MediaPlayer.OnCompletionListener
     */
Called when media player is done playing current song.
Called when media player is done playing current song .
@Override
    public void onCompletion(MediaPlayer player) {
        Log.d(TAG, "onCompletion from MediaPlayer");
        if (mCallback != null) {
            mCallback.onCompletion();
        }
    }
@ Override public void onCompletion ( MediaPlayer player ) { Log . d ( TAG , "onCompletion from MediaPlayer" ) ; if ( mCallback != null ) { mCallback . onCompletion ( ) ; } }
Called when media player is done playing current song.
Called when media player is done playing current song .
// The media player finished playing the current song, so we go ahead // and start the next.