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