![]() The multi-threaded version is available with known memory management issues. It’s worth noting that for Coroutines, only the single-threaded code on Kotlin Native is supported in the Stable version. For legacy UI frameworks, both MVI and the Model View Presenter (MVP) pattern could be used. For modern declarative UI frameworks such as Jetpack Compose and SwiftUI, the Model View Intent (MVI) pattern is highly recommended. KMM can also be used to implement presentation layer. We can also use expect / actual declarations to access platform specific features. For example, we can use Ktor to perform network requests, and SQLDelight to access SQLite databases. We can also use KMM to access platform features, such as data accessing. It is highly recommended to write business logics in KMM, because it usually requires very limited or even no platform features. Kotlin Multiplatform Mobile (KMM) is a cross-platform framework to share code for Android and iOS apps. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |