Skip to content

Random post from reddit api using MVVM, Dagger, LiveData, Coroutine, Retrofit

Notifications You must be signed in to change notification settings

NitinPraksash9911/reddit-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ae60f3 · Apr 10, 2020

History

11 Commits
Apr 9, 2020
Apr 10, 2020
Apr 9, 2020
Apr 9, 2020
Apr 10, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020

Repository files navigation

reddit-sample-app

This app loads a random post and it's comments using reddit random post api

  1. Comment tree is implemented using third party library (com.muditsen.multilevelrecyclerview:multilevelview) Link for this library : https://github.com/muditsen/multilevelrecyclerview.

  2. There is FAB button on Home Screen just reload the new post by clicking it and it will also all the comments but comment thread will shown upto third level.

  3. Comments are comming along with the rondom post response so we are not calling another api for comments and threaded comments are also coming with this (threaded means replies of comments) but resposne of threaded comments response are almost same with post data response so we have created another POJO class for generalizing all the comments data.

  4. And login api is also integrated in this app but it is just for show case that how you can login in reddit

About

Random post from reddit api using MVVM, Dagger, LiveData, Coroutine, Retrofit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published