https://kotlinlang.org logo
#glance
Title
# glance
r

Rohan Gupta Kandikonda

07/28/2023, 7:58 PM
I would like to render a logo from an image url. Does Glance provide any functionality or any composable for doing the same ?
k

Kimon

07/28/2023, 8:06 PM
There is no Glance API yet, but have a look at this thread to see how to do it: https://kotlinlang.slack.com/archives/C032SRZRD7Z/p1665731753417489?thread_ts=1665731753.417489&cid=C032SRZRD7Z
The Compose folk recommend using a library like coil for handling images, here is a Glance compatible example using coil.
r

Rohan Gupta Kandikonda

08/01/2023, 5:40 PM
Yes, I tried and its working thanks @Summers Pittman
4 Views