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.
- 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.
- Add the Movie Detail View.
- 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.
- Add the Search View.
- Add the Tickets View.
- Create text styles and dimens for the views and do some refactor.
- Add light/dark theme (change the theme in your device settings)
- Add klint and detekt to the project
- Add Github Action to the repository to run klint and detekt
- Add Unit test.
- Add Jacoco to review code test coverage and more unit test
- Add support to different Screens.
- Add a "Login" in the Profile View.
- Add pagination to the Search Screen.
movie_screen.mp4
search_screen.mp4
ticket_screen.mp4
movie_detail_screen.mp4
light_dark.theme.mp4
- 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.
Carlos Ugaz |