daily pastebin goal
19%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void addNewUser(String email, String username, String description, String website, String profile_photo) {
  2.         User user = new User(userID, 1, email, StringManipulation.condenseUsername(username) );
  3.  
  4.         myRef.child(mContext.getString(R.string.dbname_users))
  5.             .child(userID)
  6.             .setValue(user);
  7.  
  8.         UserAccountSettings settings = new UserAccountSettings(
  9.                 description,
  10.                 username,
  11.                 0,
  12.                 0,
  13.                 0,
  14.                 profile_photo,
  15.                 username,
  16.                 website
  17.         );
  18.  
  19.         myRef.child(mContext.getString(R.string.dbname_user_account_settings))
  20.                 .child(userID)
  21.                 .setValue(user);
  22.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top