lukaspili / Reactive-Billing

Lightweight reactive wrapper around In App Billing API v3 for Android
https://play.google.com/store/apps/details?id=com.github.lukaspili.reactivebilling.sample
MIT License
247 stars 33 forks source link

Multiple subscriptions to purchaseFlow #20

Open mruijzendaal opened 7 years ago

mruijzendaal commented 7 years ago

Hi,

I'm new with both Reactive-Billing and RxJava. I'm trying to subscribe multiple subscribers to the purchaseFlow Observable. If i understand correctly, you could accomplish this with share() or publish() but I'm not sure how I would go about implementing this.

The effect I'm trying to accomplish is that multiple (two) views can register to the same purchaseFlow() object independently.

Excuse me if this not an appropriate question here.