feat: Complete API Integration, Home Screen, and Detailed UI
Summary
This MR connects the application to the TMDB API, populating the Home and Search screens with live data. It also introduces a fully redesigned "Movie Details" screen featuring a backdrop header and an interactive Action Sheet for user ratings and watchlist management.
Key Changes
1. UI & UX Overhaul
- Movie Details: Redesigned to match "Letterboxd" style with a wide backdrop header and floating poster.
- Action Sheet: Implemented a sticky bottom bar ("Rate, log, review...") that opens a Bottom Sheet for actions (Like, Watchlist, Rate).
- Home Screen: Added horizontal scrolling carousels for "Trending" and "Recommended" movies.
- Main Activity: Implemented a global Top Toolbar with visibility logic (hidden on Login/Search).
2. API & Data Layer
- Network: Integrated Retrofit with TMDB endpoints for Search, Trending, Details, and Credits.
-
Database: Migrated Room Database to Version 3 to support
backdrop_path. -
Repository: Updated
MovieRepositoryto merge API data with local user states (Favorites/Watchlist).
3. Logic & Architecture
- Smart Search: Search bar now validates inputs and handles search types (Title/Year).
- Navigation: Connected Home and Search grids to the Details screen via Navigation Component.
Important Note for Reviewers
Please uninstall the previous version of the app before running. The database schema has changed (Version 3), and an uninstall is required to prevent migration crashes.