projects/syncslides/app/src/main/java/io/v/android/apps/syncslides/db/CurrentSlideWatcher.java
/**
     * Removes a listener previously added with addListener.  If this was the last
     * listener, no more listeners can be added and the CurrentSlideWatcher
     * should be discarded.
     */
Removes a listener previously added with addListener.  If this was the last
listener, no more listeners can be added and the CurrentSlideWatcher
should be discarded.
Removes a listener previously added with addListener . If this was the last listener no more listeners can be added and the CurrentSlideWatcher should be discarded .
public void removeListener(DB.CurrentSlideListener listener) {
        mListeners.remove(listener);
        if (mListeners.isEmpty()) {
            mVContext.cancel();
            mThread = null;
            mHandler.removeCallbacksAndMessages(null);
        }
    }
public void removeListener ( DB . CurrentSlideListener listener ) { mListeners . remove ( listener ) ; if ( mListeners . isEmpty ( ) ) { mVContext . cancel ( ) ; mThread = null ; mHandler . removeCallbacksAndMessages ( null ) ; } }
Removes a listener previously added with addListener.
Removes a listener previously added with addListener .