Movie App is a sample Android project using The Movie DB API based on MVVM architecture. It showcases the app development with well-designed architecture and up-to-date Android tech stacks.
- 100% Kotlin
- MVVM architecture
- Android architecture components and Jetpack
- Single activity
- Rxjava
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.
- Create a new kotlin file
ApiKey.kt
in path./buildSrc/src/main/kotlin/
. - Define a constant
API_KEY
with the double quotes, it looks like - Add Rxjava Dependency
dependencies { implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' implementation 'io.reactivex.rxjava3:rxjava:3.0.0' implementation 'com.github.akarnokd:rxjava3-retrofit-adapter:3.0.0' }