@Override @Subscribe public void onTaskFinished(TaskFinishedEvent event) { AsyncTask<?, ?, ?> task = event.getTask(); if (task instanceof RegisterTask) { handleRegisterTaskFinished(event, (RegisterTask) task); } else { super.onTaskFinished(event); } }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (getRegisterFragment() == null) { getSupportFragmentManager() .beginTransaction() .add(R.id.register_fragment_container, mRegisterFragment, TAG_FRAGMENT_REGISTER) .commit(); } }
@Override @Subscribe public void onUserInfoChanged(UserAuthenticationEvent event) { super.onUserInfoChanged(event); }
//////////////////////////////// /// RegisterFragment Delegate //////////////////////////////// @Override public void inject(Fragment fragment) { super.inject(fragment); }