How to remove FocusChangedListener from EditorImpl?

Hi Community,

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).

Kind regards,
Markus

0
1 comment

You can use addFocusListener(FocusChangeListener, Disposable) method to add your listener. Listener will be removed when second parameter is disposed.

0

Please sign in to leave a comment.