@Override public void onStart() { if (DEBUG_LIFECYCLE) logger.warn("{} onStart()", fullName); super.onStart(); started = true; activity.bind(this); //noinspection deprecation uiLines.setBackgroundColor(0xFF000000 | ColorScheme.get().defaul[ColorScheme.OPT_BG]); }
@Override public void onStart() { if (DEBUG_LIFECYCLE) logger.debug("onStart()"); super.onStart(); started = true; uiSend.setVisibility(P.showSend ? View.VISIBLE : View.GONE); uiTab.setVisibility(P.showTab ? View.VISIBLE : View.GONE); uiLines.setBackgroundColor(0xFF000000 | ColorScheme.get().defaul[ColorScheme.OPT_BG]); EventBus.getDefault().registerSticky(this); }