Developed by Sergio Casero Hernández and Daniel Llanos Muñoz
Kotlin multiplatform is a reality. This repo has a seed with our multiplatform architecture. You can see a example project using this seed here.
This seed contains these frameworks:
- Android
- iOS
- Web - React
- Desktop - TornadoFx
- Backend - Ktor
All frameworks use a common module with all presentation, bussisnes and data logic.
This project is prepared to be used as seed. Clone the repo and change the packages if you want.
To add a new screen:
- Add the presentation logic using MVP pattern.
- If It has some bussisnes and data logic add the use case and necessary repository methods.
- Each framework handle the dependency injection. (Android template is using KodeIn)
- Implement the diferents views each framework.
- Instantiate the presenter previously created.
- Implement view interface associated.
Look the splash screen as example
- Common local persistence using: Kissme
- Add tests
- Error handler.
- Use Arrow to improve the exception raising
You can see more information about this project using this slides.