GithubTrending icon indicating copy to clipboard operation
GithubTrending copied to clipboard

Where should I handle Rxjava disposables?

Open mfathy opened this issue 6 years ago • 0 comments

Where should I handle Rxjava disposables in domain layer usecase "interactors" or ViewModels? What is better ?

I know that you can dispose when onCleared method on viewModel is called.

mfathy avatar Jan 22 '19 18:01 mfathy