Join Slack
Communities
Powered by
I would like to render a logo from an image url. D...
# 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
s
Summers Pittman
07/31/2023, 2:51 PM
https://gist.github.com/secondsun/fd79e6bae2bb7fce20688a2694d69226
Summers Pittman
07/31/2023, 2:53 PM
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
5
Views
Open in Slack
Previous
Next