https://kotlinlang.org logo
#compose
Title
# compose
a

Alejandro Rios

08/10/2022, 3:52 PM
Hello everyone, I have a question that maybe you have already answered, why the
@Preview
does not work in libraries, I am creating a library of components for my project, but the previews do not load, one of the proposed "solutions" was to include
androidx.appcompat:appcompat
in the library, I did it but it still does not work, do you know anything about it?
s

Sean McQuillan [G]

08/10/2022, 6:26 PM
If you can make a minimal repro, please file.
c

Colton Idle

08/10/2022, 7:04 PM
I think ive filed like 1 or 2 bugs about this. the people in issuetracker helped me make it work. but yeah. if you have a minimal repro, file and they'll probably get to you rather quickly.
c

Chris Sinco [G]

08/10/2022, 7:29 PM
Yes, minimal repro + Compose version + Studio version
a

Alejandro Rios

08/10/2022, 8:16 PM
Will do, thanks 🙂
2 Views