wear/src/main/java/androidx/wear/widget/SwipeDismissFrameLayout.java
public void removeCallback(Callback callback) {
        if (callback == null) {
            throw new NullPointerException("removeCallback called with null callback");
        }
        if (!mCallbacks.remove(callback)) {
            throw new IllegalStateException("removeCallback called with nonexistent callback");
        }
    }
/** Removes a callback that was added with {@link #addCallback(Callback)}. */
Removes a callback that was added with  #addCallback(Callback).
Removes a callback that was added with #addCallback ( Callback ) .
public void removeCallback(Callback callback) {
        if (callback == null) {
            throw new NullPointerException("removeCallback called with null callback");
        }
        if (!mCallbacks.remove(callback)) {
            throw new IllegalStateException("removeCallback called with nonexistent callback");
        }
    }
public void removeCallback ( Callback callback ) { if ( callback == null ) { throw new NullPointerException ( "removeCallback called with null callback" ) ; } if ( ! mCallbacks . remove ( callback ) ) { throw new IllegalStateException ( "removeCallback called with nonexistent callback" ) ; } }
Removes a callback that was added with {@link #addCallback(Callback)}.
Removes a callback that was added with { @link #addCallback ( Callback ) } .