@OnClick(R.id.fragment_login_loginButton) public void onClickLoginButton() { hasClickedLogin = true; updateUI(); mDataManager.login(this, getActivity()); }
private void checkForExistingLogin() { int heroId = PreferenceUtils.getLoginId(getActivity()); if (heroId != -1) { mDataManager.login(this, heroId); } }