RTEditor/src/main/java/com/onegravity/rteditor/media/MonitoredActivity.java
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // set theme
        setTheme(RTApi.useDarkTheme() ? R.style.RTE_BaseThemeDark : R.style.RTE_BaseThemeLight);

        if (!isFinishing()) {
            mHandler = new Handler();

            for (LifeCycleListener listener : mListeners) {
                listener.onActivityCreated(this);
            }
        }
    }
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // set theme
        setTheme(RTApi.useDarkTheme() ? R.style.RTE_BaseThemeDark : R.style.RTE_BaseThemeLight);

        if (!isFinishing()) {
            mHandler = new Handler();

            for (LifeCycleListener listener : mListeners) {
                listener.onActivityCreated(this);
            }
        }
    }
@ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; // set theme setTheme ( RTApi . useDarkTheme ( ) ? R . style . RTE_BaseThemeDark : R . style . RTE_BaseThemeLight ) ; if ( ! isFinishing ( ) ) { mHandler = new Handler ( ) ; for ( LifeCycleListener listener : mListeners ) { listener . onActivityCreated ( this ) ; } } }
****************************************** Lifecycle Methods *******************************************
****************************************** Lifecycle Methods *******************************************