nhaarman / acorn

Mastering Android navigation :chipmunk:
https://nhaarman.github.io/acorn
Apache License 2.0
181 stars 7 forks source link

Remove `CompositeDisposable.plusAssign` #114

Closed nhaarman closed 5 years ago

nhaarman commented 5 years ago

The library includes a CompositeDisposable.plusAssign(DisposableHandle) function, which is used to easily add DisposableHandles to a CompositeDisposable. However, this is rarely used but really gets in the way when using RxJava's plusAssign in the sense that the auto-import may suggest the wrong import.

The DisposableHandle.asDisposable() function should be enough to deal with this easily.

Fixes #112