We have a large codebase, so creating composables ...
# compose
j
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
[Update: Removed response due to off-topic discussion]
j
@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
Do not randomly tag people.
As for you question, you can simply create an independent module.
j
okay, thanks
c
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
thanks man. I’ll try it out today
e
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
sorry, I learnt it. won’t be repeated