Because viewModel.processIntents() is called on fragment's onStart, multiple subscription is possible. Thus, we need to clear the subscription before adding a new one.
I think the presenter shouldn't have to manage any disposables, and a solution to this problem should live outside.
Anyway the original problem is fixed by #52
Thanks you nevertheless
This PR aim to fix this issue https://github.com/oldergod/android-architecture/issues/49.
Because
viewModel.processIntents()
is called on fragment'sonStart
, multiple subscription is possible. Thus, we need to clear the subscription before adding a new one.