nhaarman / acorn

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

Acorn's `plusAssign` is annoying #112

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.

This method should ideally be removed altogether, possibly introducing an alternative if necessary.