Skip to content

andrefpc/reddit_client

Repository files navigation

Welcome

Reddit Client is an app to see the top posts of Reddit. The app was created to an assessment process.

Setup

The app supports Light and Dark mode.

Software Setup

API Reference

Language

  • Kotlin

Architecture

  • MVVM (Model View ViewModel)

Dependency Injection

Multithreading

HTTP Client

Testing Tools

Other Tools

Packages Structure

  • 📔 api (Store the retrofit interfaces for do HTTP requests )
  • 📔 data (Store the data objects )
  • 📔 di (Store the dependecy injection setup files )
  • 📔 extensions (Store the app extensions )
  • 📔 repository (Store the repositories to call the api interfaces )
  • 📔 ui (Store the UI files, like Activities, Fragments, Adapters and the ViewModels )
  • 📔 util (Store the util classes )
  • 📔 widget (Store the custom components )

Assessment Requirements

  • ✅ Pull to Refresh
  • ✅ Pagination support
  • ✅ Saving pictures in the picture gallery
  • ✅ App state-preservation/restoration
  • ✅ Indicator of unread/read post (updated status, after post it’s selected)
  • ✅ Dismiss Post Button (remove the cell from list. Animations required)
  • ✅ Dismiss All Button (remove all posts. Animations required)
  • ✅ Support split layout (left side: all posts / right side: detail post)

Unit and Intrumented Tests

Captura de Tela 2021-09-24 às 23 48 56

Captura de Tela 2021-09-24 às 23 48 25

unit_testing.mp4

Screen Recorders

change_orientation.mp4
dark_mode.mp4
light_mode.mp4

About

Deviget assessment test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages