JakeWharton / RxReplayingShare

An RxJava transformer which combines replay(1), publish(), and refCount() operators.
Apache License 2.0
626 stars 28 forks source link

RxJava 2.x artifact #19

Closed arturdryomov closed 7 years ago

arturdryomov commented 7 years ago

Is it possible to publish a separate artifact for RxJava 2.x? We are currently migrating to RxJava 2.x and unable to use both replayingShare versions because dependency is the same.

RxBinding for example follows the policy you’ve described some time ago and it is very helpful!

JakeWharton commented 7 years ago

This library is super tiny so I was hoping people using both would just copy it in. Don't you think it would be a bit weird to have two 2.0s if I were to make another release?

arturdryomov commented 7 years ago

Yep, the size argument is totally valid and we did so eventually, but it has some disadvantages.

Anyway, we solved the issue for ourselves, but it still can be an issue for someone who is migrating to RxJava 2 and wants to have version-specific dependencies in parallel. Basically it is up to you ;-)