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

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

0

请先登录再写评论。