You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi and first off thanks for creating this repository and the accompanying blog posts explaining it! I'm trying to learn rxjava/mvp/content providers and this is great.
I can't seem to get this app to work. On a freshly cloned version the app starts up but does not display anything on the ui. From my limited knowledge of how DP works and MVP it seems the remote datastore is never called. If I manually call getPost() on the AppRemoteDataStore it works properly and fetches data
'AppRemoteDataStore remote = new AppRemoteDataStore();
I followed also this tutorial some time ago and had a similar problem. After reading about Observables I realized that when using Observable.concat() the next emiting source is called only after the previous one has finished, hence quering the database and returning asRxObservable() gives us a listener to the database that has no end, so .concat never calls the next observable. An easy fix is to replace asRxObservable() with executeAsBlocking() and emit the resulting list using Observable.just().
Hi and first off thanks for creating this repository and the accompanying blog posts explaining it! I'm trying to learn rxjava/mvp/content providers and this is great.
I can't seem to get this app to work. On a freshly cloned version the app starts up but does not display anything on the ui. From my limited knowledge of how DP works and MVP it seems the remote datastore is never called. If I manually call getPost() on the AppRemoteDataStore it works properly and fetches data
'AppRemoteDataStore remote = new AppRemoteDataStore();
I'd love to play around with this app more and continue my learning, but I've pretty much hit a wall here and I can't figure out the issue.
The text was updated successfully, but these errors were encountered: