This is a sample showing a list of widgets fetched from server and render them according to display type.
- SINGLE
- SLIDER
- CAROUSEL
- LISTING (same as SLIDER)
ShopListSample attempts to use the latest libraries and tools:
- Written in Kotlin
- Developed with MVVM Architectural style recommended by Google
- Used Architecture Components: LiveData and Lifecycle-components
- Used Coroutines for asynchronous works
- Used Dagger-android for Dependency Injection
- Used Retrofit for rest requests
- Used Glide for image loading
This project uses the following tools to maintain code quality. The configurations can be found in /qa
directory
-
./gradlew lint detekt ktlintCheck