Skip to content

Feature/similar movie screen#102

Merged
AmrNasserSaad merged 8 commits into
developfrom
feature/similar-movie-screen
Jul 18, 2025
Merged

Feature/similar movie screen#102
AmrNasserSaad merged 8 commits into
developfrom
feature/similar-movie-screen

Conversation

@baraa0abd

Copy link
Copy Markdown
Collaborator
similar_movies.mp4

Added the similar movies screen.
Add "Similar Movies" string resource in English and Arabic.
Update SimilarMoviesScreen to use the new string resource.
# Conflicts:
#	presentation/src/main/res/values-ar/string.xml
#	presentation/src/main/res/values/string.xml
- Use Movie domain model
- Remove dummy data
- Clean unused code from PreferredMediaUseCase
- Integrate `SearchViewModel` to manage state for Similar Movies.
- Display a "Loading..." message while fetching data.
- Show an error message if data fetching fails.
- Update movie click handling to use `SearchScreenState.MovieUiState`.
- Add "loading" string resource in English and Arabic.
The `SimilarMoviesScreen` now utilizes the `TopAppBar` composable for its header, replacing the previous custom `Row`-based implementation.

The top app bar includes a back arrow icon and the title "Similar Movies". The back arrow's click functionality remains, triggering the `onBackClick` callback. The screen now also incorporates `statusBarsPadding` for better layout consistency.
…vie-screen

# Conflicts:
#	presentation/src/main/res/values-ar/string.xml
#	presentation/src/main/res/values/string.xml
@AmrNasserSaad AmrNasserSaad merged commit 1e1ccd2 into develop Jul 18, 2025
1 check passed
@yasserahmed10 yasserahmed10 deleted the feature/similar-movie-screen branch July 22, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants