RTEditor/src/main/java/com/onegravity/rteditor/RTManager.java
@Override
    public void onRestoredInstanceState(RTEditText editor) {
        /*
         * We need to process pending sticky MediaEvents once the editors are registered with the
         * RTManager and are fully restored.
         */
        MediaEvent event = EventBus.getDefault().getStickyEvent(MediaEvent.class);
        if (event != null) {
            onEventMainThread(event);
        }
    }
@Override
    public void onRestoredInstanceState(RTEditText editor) {
        /*
         * We need to process pending sticky MediaEvents once the editors are registered with the
         * RTManager and are fully restored.
         */
        MediaEvent event = EventBus.getDefault().getStickyEvent(MediaEvent.class);
        if (event != null) {
            onEventMainThread(event);
        }
    }
@ Override public void onRestoredInstanceState ( RTEditText editor ) { /*
         * We need to process pending sticky MediaEvents once the editors are registered with the
         * RTManager and are fully restored.
         */ MediaEvent event = EventBus . getDefault ( ) . getStickyEvent ( MediaEvent . class ) ; if ( event != null ) { onEventMainThread ( event ) ; } }
****************************************** RTEditTextListener *******************************************
****************************************** RTEditTextListener *******************************************