The Movies App is a composable Android application built using Jetpack Compose that allows users to search for movies, view details, and manage their list of favorite movies. It uses the OMDB API to fetch movie data and display search results.
- Search for movies.
- View movie details such as poster, type, and year.
- Manage a list of favorite movies.
- User authentication with username and API key.
- Logout drawer displaying user information and providing a logout option.
MoviesScreen: Displays a search bar and a list of movies fetched from the OMDB API. Users can search for movies and mark them as favorites.FavoriteScreen: Displays a horizontal pager of favorite movies. Users can swipe through their favorite movies in a card format.DetailScreen: Displays the details of a selected movie in a bottom sheet, including the movie poster, type, and year.LoginScreen: Provides a simple login form where users can enter their username and API key. Displays the login status and error messages.LogoutDrawer: Displays a navigation drawer with user information such as username and last login date, as well as a logout button.
- Clone the repository.
- Open the project in Android Studio.
- Obtain an API key from the OMDB API website.
- Replace the placeholder API key in the project with your own.
- Run the app on an Android device or emulator.
- Android Studio Arctic Fox or newer.
- Android SDK version 31 or higher.
- Jetpack Compose version 1.0.0 or higher.
- Kotlin version 1.5.10 or higher.
- Jetpack Compose
- Kotlin Coroutines
- Room
- Retrofit
- Coil
- Material 3
Contributions are welcome! If you have any ideas for improvements or bug fixes, please feel free to submit a pull request. Be sure to include a description of your changes and any relevant testing information.
This project is licensed under the MIT License.