https://kotlinlang.org logo
Title
m

Mahir Chowdhury

09/01/2021, 8:19 PM
Hello guys! Thanks for the invite. I have two questions: 1. I'm working with compose for desktop and I seem to not be able to import Glide into my project. Is that intentional or is it something which will be fixed later? 2. Also, I have been trying to make a LazyRow scrollable without the scroll bar. I wanted the row to be draggable. I was able to simulate this feature with the code below but I was wondering if there was a better way.
z

Zach Klippenstein (he/him) [MOD]

09/01/2021, 8:29 PM
Isn’t glide an android library?
k

Kirill Grouchnikov

09/01/2021, 8:31 PM
An image loading and caching library for Android focused on smooth scrolling
m

Mahir Chowdhury

09/01/2021, 8:38 PM
I see so non of the android kotlin libraries won't work with compose for desktop. I guess I'll have to look for Java libraries instead.
k

Kirill Grouchnikov

09/01/2021, 8:45 PM
Yes, if it has dependencies on Android-specific libraries, it can't work on desktop
e

Emiliano Schiavone

09/01/2021, 9:02 PM
1. I do not know if this could help you, there is a library for compose glide, coil and picasso https://github.com/skydoves/Landscapist
m

Mahir Chowdhury

09/01/2021, 9:10 PM
I tried implementing that yesterday but there was a build error. Kirill seems to be right. Android libraries don't work.