开源软件名称(OpenSource Name):skydoves/TheMovies
开源软件地址(OpenSource Url):https://github.com/skydoves/TheMovies
开源编程语言(OpenSource Language):
Kotlin
100.0%
开源软件介绍(OpenSource Introduction):TheMovies
A simple project for The Movie DB based on Kotlin MVVM clean architecture and material design & animations.
How to build on your environment
Add your API key in local.properties file.
tmdb_api_key=YOUR_API_KEY
Development process
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
Architecture
Based on mvvm architecture and repository pattern.
Specs & Open-source libraries
- 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 Views ExpandableTextView
Posting
Medium - Android MVVM Architecture Components using The Movie Database API
Find this library useful? ❤️
Support it by joining stargazers for this repository. ⭐
And follow me for my next creations! |
请发表评论