QualityMatters is intended to showcases as Proof of Concept for Kotlin Multiplatform Mobile (KMM).
Over the last few years we've seen that multiplatfrom has emerging, started from the hybrid platfrom such as: Apache Cordova, PhoneGap, Xamarin, React Native, even a native like Flutter.
On Kotlin multiplatform there are at-least three layers of building block, such as:
- Enterprise Business Rules
- Interopable Business Rules
- Platform Specific Business Rules
includes the language, core libraries, and basic tools. Code written in common Kotlin works everywhere on all platforms. With Kotlin Multiplatform libraries, you can reuse the multiplatform logic in common and platform-specific code. Common code can rely on a set of libraries that cover everyday tasks such as HTTP, serialization, and managing coroutines.
use platform-specific versions of Kotlin. Platform-specific versions of Kotlin (Kotlin/JVM, Kotlin/JS, Kotlin/Native) include extensions to the Kotlin language, and platform-specific libraries and tools.
Here's where your native platform code is manifested. e.g Android ViewModel, or even Jetpack Compose, SwiftUI, and Jetbrains Compose
- Jetpack Compose A modern UI toolkit for Android
- Swift UI A modern UI toolkit for IOS
- SQLDelight for Multiplatform Storage
- Ktor for Multiplatform Network
- Flow for Multiplatform Reactive Patterns
- Kodein-DI for Multiplatform Dependency Injection
Copyright 2019 Raditya Gumay.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.