Discover the most popular, top rated, upcoming, trending, now playing movies and TV Series. Movies and TV Series data are fetched using themoviedb.org API.
- Offline-First: The offline-first apps, while still requiring a connection to the servers, don't need a constant internet connection. The data from servers is downloaded to the user's device and can still be accessed offline.
- Single Source of Truth (SSOT): It is the practice of structuring information models and associated schemata such that every data element is stored exactly once. You can have an offline app and be sure your data always use one source and that is your database.
- Model-View-ViewModel (MVVM): It is a software architectural pattern that facilitates the separation of the development of the graphical user interface (without using DataBinding). Also, there are Screen States to handle the different states in the UI.
- Coroutines: A coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
- Android Architecture Components:
Collection of libraries that help you design robust, testable, and maintainable apps.
- Navigation: This component helps you implement navigation.
- LiveData: Data objects that notify views when the underlying database changes.
- ViewModel: Stores UI-related data that isn't destroyed on UI changes.
- Paging 3: The Paging Library helps you load and display small chunks of data at a time. Loading partial data on demand reduces usage of network bandwidth and system resources.
- Room: The library provides
an abstraction layer over SQLite to allow for more robust database access while harnessing the
full power of SQLite.
- DatabaseView: This annotation allows you to encapsulate a query into a class. Room refers to these query-backed classes as views, and they behave the same as simple data objects when used in a DAO.
- Retrofit 2: A Retrofit 2 Converter.Factory for Kotlin serialization.
- Detekt: A static code analysis tool for the Kotlin programming language. It operates on the abstract syntax tree provided by the Kotlin compiler.
- Kotlin Gradle DSL: Gradle's Kotlin DSL provides an alternative syntax to the traditional Groovy DSL with an enhanced editing experience in supported IDEs, with superior content assist, refactoring, documentation, and more.
- GitHub Actions: Automate, customize, and execute your software development workflows right in your repository. Discover, create, and share actions to perform any job, including CI/CD, and combine actions in a completely customized workflow.
- Moshi & Moshi Converter: A modern JSON library for Kotlin and Java. The converter uses Moshi for serialization to and from JSON.
- Timber: A logger with a small, extensible API which provides utility on top of Android's normal Log class.
Follow these steps if you want to get a local copy of the project on your machine.
git clone https://github.com/mbobiosio/MoviesBoard.git
- In Android Studio, go to File -> New -> Import project
- Follow the dialog wizard to choose the folder where you cloned the project and click on open.
- Android Studio imports the projects and builds it for you.
- Add TheMovieDb API Key inside app level
build.gradle.kts
file. - Enable Youtube Data API v3 to view trailers
API_KEY="tmdb-api-key"
YOUTUBE_API="google-api-key"
If you want to contribute to this app, you're always welcome! See Contributing Guidelines.
This project is released under the MIT license. See LICENSE for details.
MIT License
Copyright (c) 2020 Mbuodile Obiosio
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.