android - Does SyncAdapter automatically detect internet connection availability to perform Sync? Or should I manually test it? -
i have syncadapter sync device data backend. whenever sync triggered, didn't want check internet connection in "onperformsync" method. have kind of flag ask syncadapter framework automatically?
thank guys in advance.
"sync manager takes care of other things checking network connectivity before initiating transfers , retrying downloads when connectivity dropped."
for more, checkout video : introducing sync adapters provided udacity course developing android apps
Comments
Post a Comment