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

codeslubber

12/08/2020, 5:31 PM
Being able to run Previews in the emulator is really cool. But we noticed that once we converted a module to a Library, that became impossible? is there a solution to that? (other than copy/paste it into the app source space)?
v

Vinay Gaba

12/08/2020, 5:52 PM
Heavily biased but if you are willing to “run” it on the emulator, this might work for you - https://github.com/airbnb/Showkase
👍🏻 1
b

Bryan Herbst

12/08/2020, 6:09 PM
I haven’t had any issues using previews in my android library module
👍🏻 1
c

codeslubber

12/08/2020, 6:25 PM
@Bryan Herbst to be clear: did not say they don’t work, they do, they render just fine. Can no longer run them in the emulator.
@Vinay Gaba I was your 776th star… dude you deserve a star just for that readme! looks interesting, will give it a try…
v

Vinay Gaba

12/08/2020, 6:28 PM
Let me know if you like it once you use it 🙏🏼
👍🏻 1
b

Bryan Herbst

12/08/2020, 6:31 PM
Ahhh, I see, I haven’t been using that feature yet! Might be worth throwing up a request on the issue tracker: https://issuetracker.google.com/issues?q=componentid:612128
👍🏻 1
v

Vinay Gaba

12/08/2020, 6:34 PM
@codeslubber actually I need to upgrade the library to the latest compose version. Will be doing it later today…
c

codeslubber

12/08/2020, 6:38 PM
ok will wait until then as I am on
alpha08
already
👍🏼 1
2 Views