app/src/main/java/io/bertrand/flo/projet/NamePickerActivity.java
/**
     * Save user info if info are correct, if so return true.
     */
Save user info if info are correct, if so return true.
Save user info if info are correct if so return true .
private boolean saveUserData() {
        String name  = mNameEditText.getText().toString();
        String email = mEmailEditText.getText().toString();
        if (TextUtils.isEmpty(name) || TextUtils.isEmpty(email)) {
            return false;
        }
        UserStorage.saveUserInfo(this, name, email);
        return true;
    }
private boolean saveUserData ( ) { String name = mNameEditText . getText ( ) . toString ( ) ; String email = mEmailEditText . getText ( ) . toString ( ) ; if ( TextUtils . isEmpty ( name ) || TextUtils . isEmpty ( email ) ) { return false ; } UserStorage . saveUserInfo ( this , name , email ) ; return true ; }
Save user info if info are correct, if so return true.
Save user info if info are correct if so return true .