Closed laavanyebahl closed 8 years ago
@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.
@erlingfjelstad Thanks for the guidance. I've implemented the things you suggested and have submitted a pull request for the same : https://github.com/dhis2/dhis2-android-dashboard/pull/35 @ArazAbishov Please review and merge the new pr if it solves the bug now.
@laa-1-yay Thank you. Closing this pull-request in favor of https://github.com/dhis2/dhis2-android-dashboard/pull/35.
Issue no #15