JetCoMovie-App-
JetCoMovie-App- copied to clipboard
Jetpack Compose + Coroutines Flow + MVVM + Clean + Hilt + Room
Jetpack Compose Movie App (Compose + Flow + Hilt + Room + MVVM + Clean + Retrofit)
This is an example of an Android App who uses Jetpack Compose to draw the UI, Kotlin Coroutines Flow to retrieve a list of the recent movies from https://www.themoviedb.org.
How use this app
- Request an api key from themoviedb https://developers.themoviedb.org/3/getting-started/authentication and later put that key in the build.gradle app file.

V2 
- [X] Add the Movie Detail View.
- [X] Add logic to the booking buttom in the Movie Detail View save the movie in the database to later use this database for the Tickets View.
V3 
- [X] Add the Search View.
- [X] Add the Tickets View.
V4 
- [X] Create text styles and dimens for the views and do some refactor.
- [X] Add light/dark theme (change the theme in your device settings)
V5 
- [X] Add klint and detekt to the project
- [X] Add Github Action to the repository to run klint and detekt
- [X] Add Unit test.
V6 
- [ ] Add Jacoco to review code test coverage and more unit test
- [ ] Add support to different Screens.
V7
- [ ] Add a "Login" in the Profile View.
- [ ] Add pagination to the Search Screen.
Features
Movie Screen
https://user-images.githubusercontent.com/30916886/216682426-ef729ded-f201-4635-aaae-129d7581ebb8.mp4
Search Screen
https://user-images.githubusercontent.com/30916886/216682509-69eb9ac3-8312-4707-be5a-739dde1c78fa.mp4
Ticket Screen
https://user-images.githubusercontent.com/30916886/216682539-eb0ab059-642d-41c4-9a51-b6f9f0bf6cc2.mp4
Movie Detail Screen
https://user-images.githubusercontent.com/30916886/216682562-b516596d-403c-4643-8b36-fb81186795e9.mp4
Light/Dark Theme
https://user-images.githubusercontent.com/30916886/217094735-80182247-a023-4062-9527-c8de205e3812.mp4
Tech Stack
- Kotlin - Official programming language for Android development.
- Jetpack Compose - Android’s modern toolkit for building native UI.
- Coroutines and Flow - Official Kotlin's tooling for performing asynchronous work.
- Android Jetpack - Jetpack is a suite of libraries to help developers build state-of-the-art applications.
- ViewModel - The ViewModel is designed to store and manage UI-related data in a lifecycle conscious way.
- Room - The Room library provides an abstraction layer over SQLite to allow for more robust database access.
- Dagger Hilt - Hilt is a dependency injection library for Android.
- Accompanist - A collection of extension libraries for Jetpack Compose.
- Retrofit - A library for building REST API clients.
- Coil - An image loading library.
- Detekt - A static code analysis library for Kotlin.
- Ktlint (Kotlinter) - A library for formatting Kotlin code according to official guidelines.
- Twitter Jetpack Compose Rules
- Gradle's Kotlin DSL - Gradle’s Kotlin DSL is an alternative syntax to the Groovy DSL with an enhanced editing experience.
References
Contributors ✨
Carlos Ugaz |