Comments (3)
Hello again,
Could you please help me with this? I am stuck in this development and I don't know how to proceed.
Thanks again.
from moko-template.
@Jaime97 Hey!
The domain and the feature modules can communicate with each other in the mpp-library module which all other modules are connected to. So, you need to declare some use-case interface in the feature module and implement it somewhere in the mpp-library.
Here is the example: we have some interface in the feature: https://github.com/icerockdev/moko-template/blob/master/mpp-library/feature/config/src/commonMain/kotlin/org/example/library/feature/config/model/ConfigStore.kt which are injected to the feature factory constructor https://github.com/icerockdev/moko-template/blob/master/mpp-library/feature/config/src/commonMain/kotlin/org/example/library/feature/config/di/ConfigFactory.kt#L12.
And the interface is implemented in mpp-library using domain module objects: https://github.com/icerockdev/moko-template/blob/master/mpp-library/src/commonMain/kotlin/org/example/library/SharedFactory.kt#L55.
from moko-template.
@Tetraquark Hello!
A pretty good example, I've understood it perfectly now and I've been able to implement it.
Thanks!
from moko-template.
Related Issues (20)
- Project Health HOT 1
- xcode 10.1 support HOT 2
- Template doesn't run in Xcode 12.0 HOT 2
- Problem with moko resources in the template HOT 2
- Adding SQLDelight to the project HOT 15
- Questions: IosArm64 Actual declaration shortcut keep complaining. HOT 3
- I'm getting this issue when I try to run my iOS app in Xcode 11.3.1 "Compiling for iOS 9.0, but module 'AlamofireImage' has a minimum deployment target of iOS 10.0" . can anyone help me to resolve this error. need quick reply. HOT 3
- Pod Install : inputDir does not exist HOT 6
- Integrate gradle-versions-plugin
- Update template to kotlin 1.5.20
- Remove requirement of build shared module before pod install
- buildSrc vs build-logic HOT 2
- Use jetpack compose for android UI
- Java Runtime problem on Big Sur 11.5.2 HOT 2
- Project does not build HOT 4
- Add example for other resource types HOT 1
- Project does not build
- Add `kotlin-multiplatform-mobile` topic HOT 1
- resources-cinterop-pluralizedString can't be exported with -Xexport-library e: Compilation failed: Could not initialize class llvm.llvm
- Bug: You can compile only with x86_64 and not with ARM64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moko-template.