"A movie and TV show information app for teaching MVVM, Paging3, Flow-Coroutines with Clean Architecture With this app, you can easily find information about your favorite films and TV series. You can view the cast, plot summary, release date, and more. "
-
Minimum SDK level 24+
-
100% Kotlin based Coroutines Flow for asynchronous.
-
Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- A single-activity architecture, using the Navigation to manage composable transactions.
- Lifecycle - perform an action when lifecycle state change
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- UseCases - Located domain layer that sits between the UI layer and the data layer.
- Repository - Located in data layer that contains application data and business logic
-
Hilt -Dependency Injection Library
-
Paging - The Paging library makes it easier for you to load data incrementally and gracefully within your app's UI
-
Navigation - Manage transaction among the fragments
-
Room - Create, store, and manage persistent data backed by a SQLite database.
-
WorkManager - WorkManager is the recommended solution for persistent work. Work is persistent when it remains scheduled through app restarts and system reboots.
-
AlarmManager - AlarmManager is a class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future. My usage is to set a upcoming movie reminder.
-
Notification - A notification is a message that Android displays outside your app's UI to provide the user with reminders, communication from other people, or other timely information from your app.
-
Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
-
Moshi - A modern JSON library for Android, Java and Kotlin
-
Coil - An image loading library for Android backed by Kotlin Coroutines.
-
Testing
- Flow Turbine - Turbine is a small testing library for kotlinx.coroutines Flow.
- Truth - A library for performing assertions in tests
- I used convention plugin for manage dependencies.
- This app modularization guide is soon.
- When I implement navigation for multiModule, I got help this article.
- You will need to provide developer key to fetch the data from TMDB API.
- Generate a new key (v3 auth) from here. Copy the key and go back to Android project.
- Open the page is gradle/local.properties
- Define a constant API_KEY, it looks like
API_KEY = PASTE_YOUR_API_KEY
- CI Support
- UI and Unit Tests
Don't forget give a star. ⭐
Designed and developed by 2022 tolgaprm (Tolga Pirim)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.