Skip to content

Instantly share code, notes, and snippets.

@kasem-sm
Created May 30, 2022
Embed
What would you like to do?
When Jetpack's Glance met his fellow worker, Work Manager
dependencies {
// Compose UI
// Compse Compiler
// AndroidX core, etc
// WorkManager and Hilt worker (to support DI)
implementation("androidx.work:work-runtime-ktx:2.8.0-alpha02")
implementation("androidx.hilt:hilt-work:1.0.0")
kapt("androidx.hilt:hilt-compiler:1.0.0")
// Hilt Library
implementation("com.google.dagger:hilt-android:2.42")
implementation("com.google.dagger:hilt-compiler:2.42")
// AndroidX Glance
implementation("androidx.glance:glance-appwidget:1.0.0-alpha03")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment