Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void refreshUserInformation(final RefreshListener listener){
- if (data != null){
- NetworkUtils.getUserInformation(this, data.getAuth(), new NetworkUtils.UserInformationListener() {
- @Override
- public void onUserInformationSuccess(UserInformation u) {
- data.updateFromUserInformation(u);
- writeData();
- if (listener != null){
- listener.onRefreshComplete();
- }
- }
- @Override
- public void onUserInformationFail() {
- }
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement