- Notifications
You must be signed in to change notification settings - Fork114
🎬 A demo project for The Movie DB based on Kotlin MVVM architecture and material design & animations.
License
NotificationsYou must be signed in to change notification settings
skydoves/TheMovies
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple project forThe Movie DB based on Kotlin MVVM clean architecture and material design & animations.
Add your API key in local.properties file.
tmdb_api_key=YOUR_API_KEY
Based on Test-driven development.
- API Service -> API Service Unit Test with api response mock files
- DAO -> DAO Unit Test
- Repository -> Repository Unit Test
- ViewModel -> ViewModel Unit Test
- DI & Refactoring
- Implmentating UI & Layouts
Based on mvvm architecture and repository pattern.
- Minimum SDK 16
- 100% Kotlin based
- MVVM Architecture
- Architecture Components (Lifecycle, LiveData, ViewModel, Room Persistence)
- DataBinding
- Material Design & Animations
- The Movie DB API
- Dagger2 for dependency injection
- Retrofit2 & Gson for constructing the REST API
- OkHttp3 for implementing interceptor, logging and mocking web server
- Glide for loading images
- BaseRecyclerViewAdapter for implementing adapters and viewHolders
- WhatIf - checking nullable object and empty collections more fluently
- Mockito-kotlin for Junit mock test
- Timber for logging
- Stetho for debugging persistence data & network packets
- Ripple animation, Shared element transition
- Custom ViewsExpandableTextView
Medium - Android MVVM Architecture Components using The Movie Database API
Support it by joiningstargazers for this repository. ⭐
Andfollow me for my next creations! 🤩
If you feel like support me a coffee for my efforts, I would greatly appreciate it.
The MIT License (MIT)Copyright (c) 2018 skydovesPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, 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 INTHE SOFTWARE.
About
🎬 A demo project for The Movie DB based on Kotlin MVVM architecture and material design & animations.