Created
February 17, 2016 19:45
-
-
Save Pacane/2ad21f34de00f9d0ca0f 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
@Override | |
public void saveUser(User user) { | |
userApiResourceDelegate.withCallback(new RestCallbackImpl<Void>() { | |
@Override | |
public void onSuccess(Void aVoid) { | |
PlaceRequest usersListPlace = new PlaceRequest.Builder() | |
.nameToken(NameTokens.USERS) | |
.build(); | |
placeManager.revealPlace(usersListPlace); | |
} | |
}).saveUser(user.getId(), user); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment