RTEditor/src/main/java/com/onegravity/rteditor/RTManager.java
public void unregisterEditor(RTEditText editor) {
        mEditors.remove(editor.getId());
        editor.unregister();

        updateToolbarVisibility();
    }
public void unregisterEditor(RTEditText editor) {
        mEditors.remove(editor.getId());
        editor.unregister();

        updateToolbarVisibility();
    }
public void unregisterEditor ( RTEditText editor ) { mEditors . remove ( editor . getId ( ) ) ; editor . unregister ( ) ; updateToolbarVisibility ( ) ; }
Unregister a rich text editor.
<p>
This method may be called before the component is destroyed to stop any
interaction with the editor. Not doing so may result in (asynchronous)
calls coming through when the Activity/Fragment is already stopping its
operation.
<p>
Must be called from the ui thread.
<p>
Important: calling this method is obsolete once the onDestroy(boolean) is
called

@param editor The rich text editor to unregister.
Unregister a rich text editor . <p > This method may be called before the component is destroyed to stop any interaction with the editor . Not doing so may result in ( asynchronous ) calls coming through when the Activity / Fragment is already stopping its operation . <p > Must be called from the ui thread . <p > Important : calling this method is obsolete once the onDestroy ( boolean ) is called