jw
05/25/2018, 1:43 PMubu
05/25/2018, 8:50 PMemitter.setDisposable(Disposables.fromAction {
orderReference.child(id).removeEventListener(listener)
})
jw
05/25/2018, 8:51 PMsetCancellable
which will handle creating that wrapper for you and allow you to use the superior lambdaubu
05/25/2018, 9:17 PMjw
05/25/2018, 9:18 PM