Skip to content

Instantly share code, notes, and snippets.

@code2be
Created January 25, 2016 07:30
Show Gist options
  • Save code2be/da0bd2d69780059327f1 to your computer and use it in GitHub Desktop.
Save code2be/da0bd2d69780059327f1 to your computer and use it in GitHub Desktop.
UserRepository userRepo = adapter.createRepository(UserRepository.class);
userRepo.loginUser(email, password, new UserRepository.LoginCallback() {
@Override
public void onSuccess(AccessToken token, Object currentUser) {
}
public void onError(Throwable t) {
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment