This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
hello.
in BlogFragment you use RecyclerView that bind to blogObservableArrayList . this is okey but there is another LiveData object that use when blogs receive. why you not bind list to livedata object? there is a useless loop : blogListLiveData receive data and notify to fragment and fragment notify viewmodel to fill blogObservableArrayList then list getting update!
hello. in
BlogFragment
you useRecyclerView
that bind toblogObservableArrayList
. this is okey but there is anotherLiveData
object that use when blogs receive. why you not bind list to livedata object? there is a useless loop :blogListLiveData
receive data and notify to fragment and fragment notify viewmodel to fillblogObservableArrayList
then list getting update!