How to dispose Single observer in RxJava2 when used in background and not in Activity/Fragment.
I know if Single used in Activity/Fragment then it can be added in composite disposer and dispose it in Activity/Fragment's onDestroy method.
But how to dispose it when it is called from somewhere else?
Also what are the other ways to dispose Single if it is called from Activity/Fragment and we want to dispose it before onDestroy being called?