pwittchen / ReactiveNetwork

Android library listening network connection state and Internet connectivity with RxJava Observables
http://pwittchen.github.io/ReactiveNetwork/docs/RxJava2.x/
Apache License 2.0
2.53k stars 276 forks source link

Will there be a version for Kotlin Flow ? #466

Closed Egi10 closed 1 year ago

Egi10 commented 1 year ago

I now have a project using Kotlin Flow, so I wanted to ask if this will be migrated to Kotlin Flow in the future?

Or according to this issue: #368

Thanks

pwittchen commented 1 year ago

Hi @Egi10,

This library heavily relies on RxJava, so Kotlin Flow version would require rewriting it from the scratch. I think it makes more sense to create another project like that, but based on Kotlin Flow instead of rewriting this library because there are still projects out there which rely on RxJava and not everyone migrates to Kotlin Flow. You can search for similar projects based on Kotlin Flow. You can see other people already created something like that and in the discussion in #368 you can find links to existing projects.

Regards, Piotr

Egi10 commented 1 year ago

thank you very much