Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void addNewUser(String email, String username, String description, String website, String profile_photo) {
- User user = new User(userID, 1, email, StringManipulation.condenseUsername(username) );
- myRef.child(mContext.getString(R.string.dbname_users))
- .child(userID)
- .setValue(user);
- UserAccountSettings settings = new UserAccountSettings(
- description,
- username,
- 0,
- 0,
- 0,
- profile_photo,
- username,
- website
- );
- myRef.child(mContext.getString(R.string.dbname_user_account_settings))
- .child(userID)
- .setValue(user);
- }
Add Comment
Please, Sign In to add comment