@Override public void onResume() { super.onResume(); addRefresh(); GlobalContext.getInstance().registerForAccountChangeListener(this); if (SettingUtility.getEnableAutoRefresh()) { this.newMsgTipBar.setType(TopTipBar.Type.ALWAYS); } else { this.newMsgTipBar.setType(TopTipBar.Type.AUTO); } }
@Override public void onResume() { super.onResume(); addRefresh(); }