How do I start multiple apps in one android project? I also want to share code between the apps. Any tutorial or official documentation which may help me with this. Thanks.
😶 2
taponidhi
06/04/2021, 5:02 AM
Like I see in the codelabs that has two apps - start and end. They don't share code but at least same app is in one project. How do I do that and if sharing code is possible, how do I do that too?
i
iamthevoid
06/04/2021, 5:25 AM
If you use gradle just add android application module. If you want to share code between apps then add android library module. Android studio have wizards for this. If you want to create shared code outside project then create another project and connect it to yours as a submodule. Or publish inside some repo and add as dependency
But it is not the kotlin question btw
t
taponidhi
06/04/2021, 5:28 AM
Thanks. I didn't know about modules and libraries. Fairly new here. Also this thread is for android so I posted here.
k
Kirill Grouchnikov
06/04/2021, 6:24 AM
Check the channel description. This whole Slack is for Kotlin-specific questions. There are other places for general Android questions.