The GitHubBrowerSample uses LiveData for Room and Retrofit while it doesn't make sense to have LiveData for Retrofit as it's a one-off event.
Exposing SingleLiveEvent makes more sense instead of LiveData
@AkshayChordiya but with SingleLiveEvent will not trigger the cache data when config change occur
Yep, you want LiveData for immediately returning cached values.
Most helpful comment
@AkshayChordiya but with SingleLiveEvent will not trigger the cache data when config change occur