Skip to content

jxareas/Popular-Movies

Repository files navigation


Logo
Movies

This app displays a list of movies, tv shows and actors by consuming The Movie Database (TMDb) API using Android.

SetupComponentsScorecardsLicense

app11615c422e146ec6.gif

Setup

Requirements

  • Java 8
  • Latest version of Android SDK and Android Build Tools

API Key

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"

Components

  • Kotlin based, Coroutines + Flow for asynchronous programming.
  • Dagger Hilt for dependency injection.
  • JetPack
    • DataStore
    • Room - construct a database using the abstract layer.
    • Worker - Updating data periodically when phone is idling
    • Bindables - Android DataBinding kit for notifying data changes to UI layers.
  • Lifecycle - dispose of observing data when lifecycle state changes.
  • ViewModel - UI related data holder, lifecycle aware.

Scorecards

summary jetpack kotlin

License

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.