Mantas Varnagiris
10/21/2024, 2:56 PMLazyColumn
but it seems like it composes ALL items in the list regardless if they are visible or not. Effectively behaving like Column
with scrollMantas Varnagiris
10/21/2024, 2:56 PMclass TestWidget : GlanceAppWidget() {
override val sizeMode = SizeMode.Exact
override suspend fun provideGlance(context: Context, id: GlanceId) {
provideContent {
LazyColumn(GlanceModifier.fillMaxSize().background(Color.Red).appWidgetBackground()) {
items(100) {
Log.d("TestWidget", "Item: $it")
Text(
text = "$it",
modifier = GlanceModifier.padding(10.dp),
)
}
}
}
}
}
Mantas Varnagiris
10/21/2024, 2:57 PMMantas Varnagiris
10/21/2024, 2:57 PMMantas Varnagiris
11/11/2024, 1:27 PMbbade_
12/20/2024, 8:14 PMbbade_
12/20/2024, 8:22 PMbbade_
12/20/2024, 8:37 PM