Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InternetManager refactoring #112

Open
IvanToplak opened this issue Aug 11, 2022 · 0 comments
Open

InternetManager refactoring #112

IvanToplak opened this issue Aug 11, 2022 · 0 comments

Comments

@IvanToplak
Copy link
Contributor

Refactor InternetManager:

  1. Add an interface. Change the name to InternetConnectivityManager.
  2. Use callbackFlow to get a cold Flow of connectivity states, get rid of the SharedFlow.
  3. Think about connectivity states. How many do we actually need? Maybe a simple boolean is enough.

Motivation:
https://www.youtube.com/watch?v=TzV0oCRDNfM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant