Gavalencia12 / Mobile_Application

1 stars 0 forks source link

22 functionality of the user home page #33

Closed Angel591Diaz closed 2 weeks ago

Angel591Diaz commented 2 weeks ago

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

  1. 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).
  2. ProfileViewModel.

    • Added a method to handle logout.
    • Created lists of profile options and their icons.
  3. UserHomeFragment **UserHomeFragment

    • Implemented a logout button.
    • Connection to the UserViewModel to manage the logout logic.
    • Dependency injection using Hilt.
  4. **Email Validation

    • Email validation using android.util.Patterns.EMAIL_ADDRESS.matcher(email).matches() has been implemented in the application.

Implementation Notes

Design Considerations

Checklist