This pull request includes several updates and enhancements to the CarHive application, based on work done in the last week. Changes have been made to the user registration logic, logout, and improvements to the interaction with the Firebase API.
Changes made
FirstRegisterFragment.
Implementation of FirstRegisterFragment with binding using FragmentRegisterFirstBinding.
Integration of FirstRegisterViewModel to handle user registration logic.
Added methods to toggle password visibility (password and confirmPassword).
ProfileViewModel.
Added a method to handle logout.
Created lists of profile options and their icons.
UserHomeFragment **UserHomeFragment
Implemented a logout button.
Connection to the UserViewModel to manage the logout logic.
Dependency injection using Hilt.
**Email Validation
Email validation using android.util.Patterns.EMAIL_ADDRESS.matcher(email).matches() has been implemented in the application.
Implementation Notes
Ensure that dependency injection is correctly configured in Hilt.
Verify that navigation between fragments works correctly after implementation of new features.
Design Considerations
The user interface should be reviewed to ensure visual consistency with the rest of the application, especially on the registration and profile screens.
Checklist
[ ] Functionality has been tested on physical devices and emulators.
Pull Request: Updates to the CarHive application
Description
This pull request includes several updates and enhancements to the CarHive application, based on work done in the last week. Changes have been made to the user registration logic, logout, and improvements to the interaction with the Firebase API.
Changes made
FirstRegisterFragment.
FirstRegisterFragment
with binding usingFragmentRegisterFirstBinding
.FirstRegisterViewModel
to handle user registration logic.password
andconfirmPassword
).ProfileViewModel.
UserHomeFragment **UserHomeFragment
UserViewModel
to manage the logout logic.**Email Validation
android.util.Patterns.EMAIL_ADDRESS.matcher(email).matches()
has been implemented in the application.Implementation Notes
Design Considerations
Checklist