Code example for ScheduledExecutorService

Methods: shutdown

0
    } 
 
    @Override 
    public void onDestroy() { 
        mPresenter.onDestroy();
        mScheduledExecutorService.shutdown();
        super.onDestroy(); 
    } 
 
    @Override 
    public void onPause() { 
        mPresenter.onPause();
        super.onPause(); 
    } 
 
    private PlaybackViewImpl createPlaybackViewImpl() { 
        return new PlaybackViewImpl(new ActivityReference(), getActivity().getApplicationContext(),
                mPlaybackLayout);
    } 
 
    private MediaPlayerProxy createMediaPlayer(ExecutorService executorService) {