Compose Multiplatform shares most of its API with Jetpack Compose, the Android UI framework developed by Google. You can use the same APIs to build user interfaces for both Android and iOS. Since Compose is built on top ofKotlin Multiplatform, you can easily access native APIs, such as theCa...
A highly customizable calendar view and compose library for Android and Kotlin Multiplatform. androidkotlindatecalendardatepickerdate-range-pickeryear-calendarcomposeheatmap-calendarcalendarviewweek-calendardate-rangecalendar-librarykmpkotlin-multiplatformmonth-calendarcompose-multiplatformcompose-calendarcompose-calendar...
Kotlin Multiplatform 和 Compose Multiplatform 由 JetBrains 和 Google 共同主导建设 大型公司:Forbes、Netflix、飞利浦、百度、快手等已经利用 KMP 做跨平台开发 Kotlin Multiplatform 和 Compse Multiplatform 在 Github、Reddit、StackOverflow 和 Google Trends 一直有热度,比...
因此,Compose Multiplatform 上手过程从未如此简单。 涵盖的主题包括: Compose Multiplatform 的起始步骤 与UIKit 和 SwiftUI 的互操作性 导航 Compose Multiplatform 材料与其他多平台文档在专用门户上分组,因此更易查找和使用。 部分文档仍保留在Compose Multiplatform GitHub上,但我们的目标是尽快将其转移到新门户。 Compo...
Kotlin Multiplatform 使用场景 共享逻辑并保持UI原生共享逻辑和UI 开发平台配置创建项目采用Kotlin多平台向导创建Android、IOS项目在“新建”选项卡中更改项目名称、更新项目ID选择Android、桌面选项、(MAC环境…
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库:https://github.com/JetBrains/compose-multiplatform master 克隆/下载 git config --global user.name userName git config --global user.email userEmail 分支270 标签486 Victor KroppUpdate samples to Compose 1.8 (#5313)99c2fd623小时前 ...
Multiplatform 的最佳时机! 最简单的入门方法是查看官方教程。 使用 IntelliJ IDEA 2021.1 以上版本的内置 Kotlin 项目向导,你可以轻松开始创建第一个 Compose Multiplatform 项目并以 Kotlin 构建声明式用户界面。官方教程 https://github.com/JetBrains/compose-jb/tree/master/tutorials JetBrains 希望你喜欢它!
JetBrains 还准备了大量教程来帮助你熟悉 Compose Multiplatform 的桌面目标。 大量教程 https://github.com/JetBrains/compose-jb/tree/master/tutorials Compose for Web 除了桌面之外,Compose Multiplatform 还为处理 DOM 提供了强大的声明式 Kotlin / JS API。
最简单的入门方法是查看官方教程。 使用 IntelliJ IDEA 2021.1 以上版本的内置 Kotlin 项目向导,你可以轻松开始创建第一个 Compose Multiplatform 项目并以 Kotlin 构建声明式用户界面。 官方教程 https://github.com/JetBrains/compose-jb/tree/master/tutorials JetBrains 希望你喜欢它!
compose.desktop { application { // ... buildTypes.release.proguard { configurationFiles.from("rules.pro") } } } 如需详细了解 Compose Multiplatform 中提供的 ProGuard 集成,请查看 GitHub 仓库中的示例项目。 改进的键盘导航焦点管理Copy heading link ...