ursus
11/13/2018, 2:39 AMrefCount
would dispose it after first UI onDestroy, since its the only subscriberarekolek
11/13/2018, 9:26 AMrefCount
is a method on ConnectableObservable
right? I think if you used it without the refCount
you would then need to dispose it manuallyursus
11/13/2018, 1:42 PMviewmodel.onDestroy { obs.disconnect() }
?ursus
11/13/2018, 1:43 PMarekolek
11/13/2018, 2:01 PMarekolek
11/13/2018, 2:02 PMObservable
arekolek
11/13/2018, 2:02 PM.hide()
arekolek
11/13/2018, 2:03 PMarekolek
11/13/2018, 2:03 PMursus
11/13/2018, 2:49 PMursus
11/14/2018, 1:23 AMursus
11/14/2018, 1:25 AM