It is a sample app that shows information about movies and series. The goal is build a scalable, maintainable and testable app, implementing good development practices combined with an architecture that follows Clean Architecture principles and MVVM pattern.
- Kotlin 1.5.20
- Gradle 7.0.2
- JDK 11
- Min SDK : 21
- Compile & Target SDK: 31
- Add
TMDB_API_KEY
(The Movie API Key) inlocal.properties
- Kotlin
- Coroutines
- Retrofit
- Jetpack
- LiveData
- LifeCycle
- ViewModel
- Room
- Databinding
- Navigation
- Hilt
- Unify styles
- Implement pagination with Paging
- Implement custom base adapter to avoid boilerplate code (similar to Epoxy or PlaceHolderView)
- Implement data biding in RecyclerViews and ViewHolders
- Nested recyclerviews: Save and restore horizontal scroll position
- Clean up "Loading view" with Shimmer effect implementation
- Support Dark theme
- Localization
- Implement a cache invalidation policy
- Analyze a better data update policy:
- Add a work to update local data periodically in background
- Update data from remote if it was not updated in a certain time. In other case get data from local storage.
- Add Github Actions:
- Check PRs (Danger validation + run tests)
- Build APK and publish on Firebase based on branching process to be defined.
- Add more unit tests (code coverage > 90%)
- Integration tests (with OkReplay)
- UI tests
- End to end tests
- Migrate XML layouts to Jetpack Compose
- Analyze separate code: one module by feature