protected void doGetUserProfile(final long userId, final SocializeAction action) { if (userId >= 0 && (currentUser == null || !currentUser.getId().equals(userId))) { UserUtils.getUser( getActivity(), userId, new UserGetListener() { @Override public void onGet(User user) { // Set the user details into the view elements currentUser = user; setUserDetails(user, action); countdown(); } @Override public void onError(SocializeException error) { countdown(); showError(getContext(), error); } }); } else { countdown(); } }