-
-
Save kasem-sm/133083fcb7b4d5dca33bc2871fd93e7b to your computer and use it in GitHub Desktop.
When Jetpack's Glance met his fellow worker, Work Manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.glance.GlanceModifier | |
import androidx.glance.appwidget.GlanceAppWidget | |
import androidx.glance.layout.Column | |
class MyWidget() : GlanceAppWidget() { | |
@Composable | |
override fun Content() { | |
Column( | |
modifier = GlanceModifier | |
.fillMaxSize() | |
) { | |
// Widget Content | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment