-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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();
remote.getPost().subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Action1<List<Post>>() {
@Override
public void call(List<Post> posts) {
Log.d(TAG, "MainActivity hack: " + posts.size());
}
});`
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.
Metadata
Metadata
Assignees
Labels
No labels