@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) {
        
        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 *******************************************