title: How does WorkManager work after device is connected to internet in specific scenarios?
body: <p>I am working with WorkManager in android. I want to upload photos when a user gets connected with the network every day otherwise store them offline. Which approach I use to upload photo PeriodicRequest or OneTimeRequest?
  If I use PeriodicRequst,then how it works if I set time 2 Hours and user connects to network before 2 hours.How will it work and which time its start?
  If I use OneTimeRequest, then how will it work and which time it starts.</p>