package Ġcom . fs ck . k 9 . job Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . work . Configuration Ċ import Ġandroidx . work . Work Manager Ċ import Ġandroidx . work . Worker Factory Ċ Ċ class ĠWork Manager Provider ( private Ġval Ġcontext : ĠContext , Ġprivate Ġval Ġworker Factory : ĠWorker Factory ) Ġ{ ĊĠĠĠ Ġfun Ġget Work Manager (): ĠWork Manager Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġconfiguration Ġ= ĠConfiguration . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Worker Factory ( worker Factory ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠĠĠĠĠ ĠWork Manager . initialize ( context , Ġconfiguration ) ĊĊĠĠĠĠĠĠĠ Ġreturn ĠWork Manager . getInstance ( context ) ĊĠĠĠ Ġ} Ċ } Ċ