feat: Implement Bottom Navigation, Profile Hub, and Watchlist UI
Summary
This MR implements the core application navigation structure and connects the UI to the backend logic for the Watchlist feature.
Key Changes
1. Navigation Architecture
- Implemented Bottom Navigation View with 4 main tabs: Home, Search, Quiz, and Profile.
- Removed "Watchlist" from the bottom bar and moved it into the Profile screen as a sub-destination.
- Created a placeholder Settings screen.
2. Feature: Profile & Auth Persistence
- Created
ProfileFragmentas a user hub. - Implemented SharedPreferences in
LoginFragmentto persist the username. - Profile now displays "Welcome, [Username]" dynamically.
3. Feature: Watchlist (MVVM)
- Connected
WatchlistViewModeltoUserCollectionsRepositoryin theViewModelFactory. - Built the
WatchlistFragmentUI with a RecyclerView Grid and a visual "Empty State". - Added logic to remove movies from the watchlist via long-press.
4. Feature: Search UI
- Implemented the visual layer for the Search screen (Search Bar, Filter Chips, Grid).
- Connected
SearchFragmentto the existingSearchViewModel.