This app displays a list of movies, tv shows and actors by consuming The Movie Database (TMDb) API using Android.
Setup • Components • Scorecards • License
- Java 8
- Latest version of Android SDK and Android Build Tools
The app uses themoviedb.org API to get movie information and posters. You must provide your own [API key] in order to build the app (or you can use mine).
Just put your API key into the app module's utils/constants
file (create the file if it does not exist already):
const val TMDb_API_KEY = "abc123"
- Kotlin based, Coroutines + Flow for asynchronous programming.
- Dagger Hilt for dependency injection.
- JetPack
- Lifecycle - dispose of observing data when lifecycle state changes.
- ViewModel - UI related data holder, lifecycle aware.
- Architecture
- MVVM Architecture (View - DataBinding - ViewModel - Model)
- Material 3 - Using Material Design 3
- Navigation Drawer
- Dark Mode Support - Generate theme trough Material Theme Builder
- Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
- Glide - loading images.
- Material-Components - Material design components like ripple animation, cardView.
MIT License
Copyright (c) 2022 Jonathan Areas
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.