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

Issue #15 General Resusable Snackbar and Connection Utility for Slow or No Internet #24

Closed
wants to merge 2 commits into from

Conversation

laavanyebahl
Copy link
Contributor

Issue no #15

  • Snackbar for "Slow" or "No" Internet
  • Can be used in any Activity or Fragment
  • Login Activity : Check connection on Login Button click
  • Dashboard Fragment : Check connection on Creation of Fragment and on Refresh button click

screenshot_2016-03-05-15-23-04

screenshot_2016-03-05-15-21-27

Signed-off-by: Laavanye Bahl <laavanye.bahl@gmail.com>
…ewPager

Signed-off-by: Laavanye Bahl <laavanye.bahl@gmail.com>
@erlingfjelstad
Copy link

@laa-1-yay You shouldn't ping Google to check if the device has Internet access. You should let the app try to sync, and if it fails you should provide a callback method and notify the fragment that it hasn't Internet connection.

@laavanyebahl
Copy link
Contributor Author

@erlingfjelstad Thanks for the guidance. I've implemented the things you suggested and have submitted a pull request for the same : #35
@arazabishov Please review and merge the new pr if it solves the bug now.

@arazabishov
Copy link
Contributor

@laa-1-yay Thank you. Closing this pull-request in favor of #35.

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

Successfully merging this pull request may close these issues.

3 participants