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

[REFACTOR] NetworkMonitor 도입 #77

Open
2 tasks done
DongChyeon opened this issue May 23, 2024 · 0 comments
Open
2 tasks done

[REFACTOR] NetworkMonitor 도입 #77

DongChyeon opened this issue May 23, 2024 · 0 comments
Assignees
Labels
refactor 기능 리팩토링

Comments

@DongChyeon
Copy link
Member

DongChyeon commented May 23, 2024

NetworkMonitor 도입

  • NetworkMonitor를 통해서 실시간으로 사용자의 네트워크 상태를 감지해 연결이 안되어있을 경우 안내
  • ViewModel 에서 매 API 호출마다 네트워크 상태를 체크하는 ApiResult.Network 에러 보일러 플레이트를 줄일 수 있당

Connectivity Manager 를 이용해 구현, 참고하는 레퍼런스는 nowinandroid

@DongChyeon DongChyeon added the refactor 기능 리팩토링 label May 23, 2024
@DongChyeon DongChyeon self-assigned this May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor 기능 리팩토링
Projects
None yet
Development

No branches or pull requests

1 participant