<What is the proper way to implement Periodic Task...
# stackoverflow
u
What is the proper way to implement Periodic Task Manager? I used PeriodicWorkerManager that will exceute on specified given time (Every 24 hour). I want to know what is the proper way of implementing PeriodicWorkManager. Also how to handle Task if activity get destroy or re-create. Here is my code, I had define periodicWorkManager on my Application class class App : Application() {companion object { @get:Synchronized var instance = App() val constraint: Constraints =...