I have a widget developed with Jetpack Compose and with the Jetpack Glance library, this widget is a LazyColumn list, in which I pass the information after making a query to the Room Database database.
To try to load the image I used Image() with the provider, passing it a string (which is the url of the image I want to load)
Image(
modifier = GlanceModifier.size(50.dp),
provider = ImageProvider(item.image),
contentDescription = null
)
This didn't load the image and I tried to pass that image url to a bitmap, to load it with BitmapImageProvider(), but it didn't work. Is there a way to load a remote image to a widget using Jetpack Glance?