RTEditor/src/main/java/com/onegravity/rteditor/RTEditText.java
void register(RTEditTextListener listener, RTMediaFactory<RTImage, RTAudio, RTVideo> mediaFactory) {
        mListener = listener;
        mMediaFactory = mediaFactory;
    }
void register(RTEditTextListener listener, RTMediaFactory<RTImage, RTAudio, RTVideo> mediaFactory) {
        mListener = listener;
        mMediaFactory = mediaFactory;
    }
void register ( RTEditTextListener listener , RTMediaFactory < RTImage , RTAudio , RTVideo > mediaFactory ) { mListener = listener ; mMediaFactory = mediaFactory ; }
This needs to be called before anything else because we need the media
factory.

@param listener     The RTEditTextListener (the RTManager)
@param mediaFactory The RTMediaFactory
This needs to be called before anything else because we need the media factory .