package Ġnick . work . di Ċ Ċ import Ġandroidx . work . Configuration Ċ import Ġandroidx . work . Work Manager Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . Re usable Ċ Ċ @ Module ( includes Ġ= Ġ[ Work Ass isted Module :: class , ĠWorker Module :: class ]) Ċ object ĠWork Module Ġ{ ĊĊĠĠĠ Ġ@ Re usable ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Jvm Static ĊĠĠĠ Ġfun Ġwork Manager () Ġ= ĠWork Manager . getInstance () ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Jvm Static ĊĠĠĠ Ġfun Ġconfiguration ( work Worker Factory : ĠWork Worker Factory ) Ġ= ĠConfiguration . Builder () ĊĠĠĠĠĠĠĠ Ġ. set Worker Factory ( work Worker Factory ) ĊĠĠĠĠĠĠĠ Ġ. build () Ċ }