Created
September 22, 2015 20:54
-
-
Save orhanobut/38facfa03941324b125e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LoginActivity extends Activity | |
implements LoginFragment.LoginListener { | |
@Override public void onLogin() { | |
login(new Callback<User>() { | |
@Override public void onSuccess(User user){ | |
EventBus.getDefault().post(new UserEvent(user)); | |
} | |
} | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment