jpotts18 / android-mvp

Android MVP Reference Architecture and Video Tutorial
MIT License
211 stars 79 forks source link

[request] can you go a little further with Rx implementation without dagger #8

Closed rinav closed 7 years ago

rinav commented 8 years ago

Recently I started reading a lot about MVP and I want to get into practicing my projects with it.

However I am not able to correctly understand where should Rx + Retrofit code go? I think it should be in Model Layer via Interactors but still can you help me understand?

Also what happens with the RX callback? the onNext(), onCompleted() and onFailure() passes data back to Presenter or do we implement listeners? Also should we decouple Rx callbacks further?

jpotts18 commented 7 years ago

I don't know enough about Rx, so unfortunately no.

RajuSE commented 7 years ago

@riinav chekout https://github.com/jpotts18/android-mvp/tree/master-2