当前位置:网站首页>Jetpack Compose 教程之 从一开始就投资于良好的导航框架将帮助您在之后节省大量的迁移工作
Jetpack Compose 教程之 从一开始就投资于良好的导航框架将帮助您在之后节省大量的迁移工作
2022-06-24 09:51:00 【知识大胖】
自 Google 宣布 Jetpack Compose 的 1.0 稳定版本以来已经过去了大约一年,这意味着开发人员现在可以使用其 UI 工具包创建可用于生产的应用程序,但是,您应该这样做吗?请记住,我在本文中所说的纯粹是我的观点,所以如果您有任何不同意的地方,请通过评论或 Twitter 告诉我
随着时间的推移,“稳定”这个词被滥用了很多次,而且对于 Jetpack Compose 来说感觉是正确的。即使他们(谷歌)说它已经准备好生产了,当你将它用于大型商业项目时,你应该真正做你的研究,比如检查问题跟踪器上的活动问题,编写示例应用程序以查看它的执行情况,即工具包是否提供必要的小部件?它会影响发布应用程序的大小和性能吗?最重要的是,它是否会影响开发人员的生产力以及工具支持呢?这不仅适用于 Jetpack Compose,而且适用于您希望使用的任何库/框架。他们用来逃避不被称为“阿尔法”的技术之一是引入@Experimental将某些功能标记为不稳定的注释(并不是说这些功能不起作用,而是 API 可能会更改,从而破坏与以前版本的二进制兼容性)。在选择一个全新的框架来编写 UI 时,你真的应该考虑到这些事情。
那么它什么时候可以稳定用于生产用途呢?不要误会我的意思,你仍然可以使用它,但如果你在数百万用户使用的应用程序中使用它,你应该知道一些问题。请记住,现有的基于 View 的工具包需要 10 年的时间才能成熟,所以实际上我们应该预计 Jetpack Compose 至少需要大约 3-4 年才能赶上并变得稳定,以便被团队采用规模更大。即使在今天,如果你看到,Android 的 Kotlin 采用率约为 70%,
边栏推荐
- JMeter interface test tool foundation - badboy tool
- Spark submission parameter -- use of files
- Outils de capture de paquets
- Base64 decoding method three ways for non professionals
- 機械臂速成小指南(二):機械臂的應用
- MYSQL_ Elaborate on database data types
- First acquaintance with string+ simple usage (I)
- System design: key features of distributed systems
- Wechat applet rich text picture width height adaptive method introduction (rich text)
- 机械臂速成小指南(一):机械臂发展概况
猜你喜欢

Spark submission parameter -- use of files

Cookie 、Session、localstorage、Sessionstorage的区别
![[data analysis data source] coordinates of provinces, cities and administrative regions across the country (including boundary coordinate points and central coordinate points)](/img/a8/84088b1e61deaf62f22d85a007423b.png)
[data analysis data source] coordinates of provinces, cities and administrative regions across the country (including boundary coordinate points and central coordinate points)

Flink checkpoint and savepoint

多线程的应用 - 提升效率

88.合并有序数组
![[energy reports] International Conference on energy and environmental engineering in 2022 (cfeee 2022)](/img/48/11bd949fa3695452270c3625d63e6d.jpg)
[energy reports] International Conference on energy and environmental engineering in 2022 (cfeee 2022)

Hbuilder makes hero skin lottery games

First acquaintance with string+ simple usage (I)

Rising bubble canvas breaking animation JS special effect
随机推荐
进程与多线程
Rising bubble canvas breaking animation JS special effect
多线程的应用 - 提升效率
常用的第三方ui框架
[resource sharing] the 5th International Conference on civil, architectural and environmental engineering in 2022 (iccaee 2022)
js中对象合并的4种方式,对象合并的4种方法
[Qianfan 618 countdown!] IAAs operation and maintenance special preferential activities
[JS reverse sharing] community information of a website
Nxshell session management supports import and export
What is the resource search platform and how resource search works
[IEEE] International Conference on naturallanguageprocessing and information retrieval (ecnlpir 2022)
js数组求和的5种方法
Apple's legendary design team disbanded after jobs refused to obey cook
2008R2 precautions for configuring L2TP pre shared key VPN
Network monitoring: active troubleshooting becomes simple
283. move zero
System design: key features of distributed systems
机械臂速成小指南(二):机械臂的应用
cuda runtime error (801) : Raw out
splice()方法的使用介绍