repository: ExampleRepository, @Assisted private val savedStateHandle: SavedStateHandle ) : ViewModel() private val exampleViewModel: ExampleViewModel by viewModels() After
.observe(this, Observer { workInfo: WorkInfo? -> if (workInfo != null) { val progress = workInfo.progress val value = progress.getInt(PROGRESS, 0) // Do something with progress information } }) RUNNING Stateীࢲ݅ ࢎਊೞח Ѫਸ ӂ Link: https://developer.android.com/topic/libraries/architecture/workmanager/intermediate-progress