Category : backgroundworker

I want to Schedule task to be deleted from the database after 24 hours public class WorkManager extends Worker { public WorkManager(@NonNull Context context, @NonNull WorkerParameters workerParams) { super(context, workerParams); } @NonNull @Override public Result doWork() { return null; }} how can i pass the Task to be deleted as a parameter to the DoWork ..

Read more