Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to understand it without RXJava #22

Closed
TheReprator opened this issue Oct 4, 2018 · 1 comment
Closed

Want to understand it without RXJava #22

TheReprator opened this issue Oct 4, 2018 · 1 comment
Labels
question Further information is requested

Comments

@TheReprator
Copy link

TheReprator commented Oct 4, 2018

In the domain section, Rxjava is the thing which redirects the result from respective data source to corresponding presenter for success or Error

So, I only want to understand how can I do it without RXJava, as. It will be great if you can provide me sample to do it without RXjava or how didi't worked

@andremion
Copy link
Owner

Here is a good repo to see how it works without any reactive library.
https://github.com/googlesamples/android-architecture/tree/todo-mvp-clean/

Basically you will need to use callbacks back and forth.

As you can see there, the presenter, usecase, repository, use callbacks with some kind of success and error methods to handle the results.

@andremion andremion added the question Further information is requested label Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants