private void initializeLastNameEditText ( ) { lastNameEditText = ( EditText ) findViewById ( R . id . last_name_edit_text ) ; lastNameEditText . addValidator ( Validators . minLength ( this , R . string . min_length_validator_error_message , MIN_NAME_LENGTH ) ) ; lastNameEditText . addValidator ( Validators . beginsWithUppercaseLetter ( this , R . string . begins_with_uppercase_letter_validator_error_message ) ) ; lastNameEditText . addValidator ( Validators . letter ( this , R . string . letter_validator_error_message , Case . CASE_INSENSITIVE , false , new char [ ] { ' ' } ) ) ; }
Initializes the edit text which allows to enter a last name .