There is no way to remove the listener, though I suppose you could try setting it to null with the Reflection library, but I don't understand why you would need to anyway. You could set a global flag and check it in your listener to to see whether to ignore gestures.