Hector
09/05/2023, 1:10 AMiXPert12
09/05/2023, 7:45 AMSebastian Aigner
09/06/2023, 5:05 PMshared is part of your common code. Because your commonMain code may define expect functions that require actual implementations for each platform, there are subdirectories like desktopMain in here.
• The top-level desktopApp, androidApp are the actual "entry point" applications.
Generally, anything that is shared goes in the shared module: Composables, functions that have expect/actuals, and so on. If you have functionality that is truly exclusive to a platform, or that works on the level of the entry point of the app (e.g. window management on Desktop). that's the kind of code that would go in your desktopApp. Hope that helps!Colton Idle
09/06/2023, 6:00 PMHector
09/07/2023, 1:02 AMColton Idle
09/07/2023, 5:19 PM