You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
I have followed all the instruction as it was given in the tutorial. (I am attaching my SunshineSyncAdapter class here for reference) But when i run the app, it gets the data from the server the first time. But the the automatic sync does not happen. I have set the sync_interval to 30 seconds, and keep monitoring the logcat. But i don't see the "onPerformSync Called" log being printed every 30 seconds.
But when i "Refresh" or change location and come back, syncImmediately() function kicks off and updates the data. What am i doing wrong?
I have followed all the instruction as it was given in the tutorial. (I am attaching my SunshineSyncAdapter class here for reference) But when i run the app, it gets the data from the server the first time. But the the automatic sync does not happen. I have set the sync_interval to 30 seconds, and keep monitoring the logcat. But i don't see the "onPerformSync Called" log being printed every 30 seconds.
But when i "Refresh" or change location and come back, syncImmediately() function kicks off and updates the data. What am i doing wrong?
SunshineSyncAdapter.txt
The text was updated successfully, but these errors were encountered: