Offline Data Sync

hi

how can i make android app start syncing data between local and database entities, ihave the action which syncs

but what can i do to automaticly execute it when the device become online?

any help please

Regards


thx


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.