updateIf
Update all App Widgets managed by the [GlanceAppWidget] class, if they fulfill some condition.
updateIf
Function
Android
public suspend inline fun <reified State> GlanceAppWidget.updateIf(
@Suppress("ContextFirst") context: Context,
predicate: (State) -> Boolean,
)
Update all App Widgets managed by the GlanceAppWidget class, if they fulfill some condition.
