Movie App is a sample movie listing Android application 📱 built to demonstrate use of Modern Android development tools like Jetpack Compose and Kotlin Flows.
It simply loads Movies data from TMDB API and shows as a list using LazyColumn.
- User can click on a movie to navigate to Movie Detail screen.
- Clean and Simple Material UI.
- It supports dark theme and dynamic theme (based on wallpaper) too 🌗.
- Kotlin - First class and official programming language for Android development.
- Jetpack Compose - Android’s recommended modern toolkit for building native UI
- Coroutines - For asynchronous operations like network calls.
- Navigation - Using the Android Navigation component libraries for Jetpack Compose
- Flow - StateFlow and MutableStateFlow
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- Dependency Injection -
- Dagger-Hilt - Standard library to incorporate dependency injection into an Android application.
- Retrofit - A type-safe HTTP client.
- Moshi - A modern JSON library for Kotlin and Java.
- Moshi Converter - A Converter which uses Moshi for serialization to and from JSON.
- Coil-kt - An image loading library for Android backed by Kotlin Coroutines.
- Material You - Dynamic Theming - Modular and customizable Material Design UI components for Android
This app uses MVVM (Model View View-Model) architecture.
- Clone the project
- Get API key from TMDB - it is free.
- Add the API key in local.properties as below
TMDB_API_KEY="your_key_here"
- Add Tests
- Pagination
- Use Cases (to separate presentation and data layer)
If you need any help, you can connect with me.
Visit:- Linkedin
MIT License
Copyright (c) 2023 Hamid Siddiqui
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.