The aim of this app is to replicate the high level functionality of www.tvmaze.com and showcase an android app out of it. It connects with TVDB API to give you popular shows and let you mark anyone as favorite. TvFlix consists of 3 pieces of UI right now:
- Home with Popular Shows
- Favorites
- All Shows
Note: TvFlix is an unofficial app built only for learning and sharing the latest concepts with #AndroidDevs
- The entire codebase is in Kotlin
- Uses Jetpack Compose for UI
- Uses Kotlin Coroutines and StateFlow for reactive state management
- Uses MVVM Architecture by Architecture Components. Room, ViewModel, Paging
- Uses Hilt Android with Dagger for dependency injection
- Uses KSP for annotation processing
- Unit Testing by Mockito
- Tests Coroutines and architecture components like ViewModel
- UI Test by Compose Testing
- Uses Kotlin Coroutines Test to unit test Kotlin Coroutines
- Uses Firebase Remote Config for experimentation and feature rollout
- Uses Firebase App Distribution for internal distribution and quality testing
- Uses Paging3 for paginated show listing
If you have found an issue in this sample, please file it. Better yet, if you want to contribute to the repository, go ahead, any kind of patches are encouraged, and may be submitted by forking this project and submitting a pull request. If you have something big in mind, or any architectural change, please raise an issue first to discuss it.
Copyright (c) 2020 Ashwini Kumar
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.