The app loads a paginated list of post previews along with a post-details screen.
The UI is written in Jetpack-compose and pagination is implemented using the Paging 3 library. The fake post data is loaded from the GraphQL Zero playground.
- Android Studio Arctic Fox | 2020.3.1 Canary 13
- Runtime version: 11.0.8+10-b944.6842174 x86_64
- VM: OpenJDK 64-Bit Server VM
- Kotlin + coroutines + flow
- Android architecture components
- Dagger for Dependency Injection
- Apollo-android for graphql queries
- Junit5, Mockito for testing
Follows the MVVM architecture with a data -> domain <- presentation setup.
posts/
├── app
│ └── src/main
│ └── src/test (tests are available here)
├── base
├── test-core
├── buildSrc