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

jasu

02/24/2022, 6:00 AM
We have a large codebase, so creating composables and previewing taking on avg 1-2mins even on macbook pro intel. So I want to build compasables in an isolated package where I have a dependency of another package(which provides our design system for compose) and installing installs only this testing apk with 1 activity so that my basic composable building time reduce as I’m currently having bad time. Can anyone help me how can I achieve this?
e

Eric Chee

02/24/2022, 6:20 AM
[Update: Removed response due to off-topic discussion]
j

jasu

02/24/2022, 6:36 AM
@Eric Chee hey thanks but I’m not looking for the navigation. My question is different, please see if you’ve any solution to my que.
@Albert Chang @Colton Idle @Francesc can you answer this?
a

Albert Chang

02/24/2022, 6:44 AM
Do not randomly tag people.
As for you question, you can simply create an independent module.
j

jasu

02/24/2022, 7:00 AM
okay, thanks
c

Colton Idle

02/24/2022, 7:12 AM
I do this in my apps now. I basically have :app and :design-system. app depends on design system. Then i have :gallery-app and that depends on design-system as well. so the gallery app is just a shell app really so its super quick to iterate there.
👍 1
lowkey flattered to be put in the same tag as albert (aka goat) 👀 but yeah, typically just tagging a bunch of people doesn't come off great. lol
j

jasu

02/24/2022, 7:24 AM
thanks man. I’ll try it out today
e

ephemient

02/24/2022, 11:43 AM
https://kotlinlang.org/community/slackccugl.html
Please do not ping or mention someone directly to get your questions answered, specially project owners, whether the project is Kotlin or other, unless they specifically indicate that you can.
j

jasu

02/24/2022, 11:45 AM
sorry, I learnt it. won’t be repeated
2 Views