Skip to content

Display a paginated list of post previews along with a post-details screen.

Notifications You must be signed in to change notification settings

vshivam/posts-gql

Repository files navigation

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.

ezgif com-gif-maker (1)

Developed on Android Studio

  • 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

Tech Stack

  • Kotlin + coroutines + flow
  • Android architecture components
  • Dagger for Dependency Injection
  • Apollo-android for graphql queries
  • Junit5, Mockito for testing

Architecture

Follows the MVVM architecture with a data -> domain <- presentation setup.

posts/
├── app
│   └── src/main
│   └── src/test (tests are available here)
├── base
├── test-core 
├── buildSrc

About

Display a paginated list of post previews along with a post-details screen.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages