How to remove FocusChangedListener from EditorImpl? Follow
I've implemented a FocusChangedListener and added this to an EditorImpl class with the addFocusListener(FocusChangedListener f) method.
Now I would like to know how I should remove or detach this Listener from the Editor, because there is no method like removeFocusListener(FocusChangedListener f).
Please sign in to leave a comment.
You can use addFocusListener(FocusChangeListener, Disposable) method to add your listener. Listener will be removed when second parameter is disposed.