Join Slack
Powered by
<Repository sends only at second call data back to...
# stackoverflow
u
user
10/20/2018, 1:46 PM
Repository sends only at second call data back to ViewModel
According to this tutorial:
https://developer.android.com/jetpack/docs/guide?fbclid=IwAR2vtdeMmmnq6h-zcwTuLLLZcRdhr_pSPr7vT7ZebEL3K3EyR-CobCU07Q0#overview
I try to accomplisch Repository Pattern without using offline database or cache. The Fragment observers livedata in ViewModel, and ViewModel fetches data from Repo. Problem:...
Open in Slack
Previous
Next