Skip to content

Instantly share code, notes, and snippets.

@DivS-15
Created August 19, 2022 16:18
Show Gist options
  • Save DivS-15/dbb5fd312a4bbf2b747624808d3e0ad7 to your computer and use it in GitHub Desktop.
Save DivS-15/dbb5fd312a4bbf2b747624808d3e0ad7 to your computer and use it in GitHub Desktop.
@HiltWorker
class UploadWorker @AssistedInject constructor(
@Assisted ctx: Context,
@Assisted workerParameters: WorkerParameters,
private val ioDispatcher: CoroutineDispatcher
) : CoroutineWorker(ctx, workerParameters) {
// TODO implement uploadImageFromUri() and doWork()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment