Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
@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