当前位置:网站首页>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%,
边栏推荐
- 【本周六活动】.NET Day in China
- Common third-party UI frameworks
- International Symposium on energy and environmental engineering in 2022 (coeee 2022)
- 88. merge ordered arrays
- Quick completion guide for mechanical arm (II): application of mechanical arm
- 使用Process Monitor工具监测进程对注册表和文件的操作
- Distribute proofs of manuscripts by scanning
- [Qianfan 618 countdown!] IAAs operation and maintenance special preferential activities
- Cool interactive animation JS special effects implemented by p5.js
- A method to solve the self-adaptive width and height of the internal picture of rich text label in wechat applet
猜你喜欢

服乔布斯不服库克,苹果传奇设计团队解散内幕曝光

Maui的学习之路 -- 开篇

喜欢就去行动

Apple's legendary design team disbanded after jobs refused to obey cook
![[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)

抓包工具charles實踐分享

26.删除有序数组的重复项

88. merge ordered arrays

Solve the timeout of Phoenix query of dbeaver SQL client connection

Simple pricelist style code
随机推荐
Svg+js drag slider round progress bar
How to use arbitrarygen code generator what are the characteristics of this generator
2022 the most complete and detailed JMeter interface test tutorial and detailed interface test process in the whole network - JMeter test plan component (thread < user >)
H5 video conference, camera monitoring, web streaming and live broadcast integration scheme
Four methods of object merging and four methods of object merging in JS
Web project deployment
Nxshell session management supports import and export
Learn how to use PHP to filter special symbols in strings
Multithreaded applications - improve efficiency
Learn to use the kindeditor rich text editor. Click to upload a picture. The mask is too large or the white screen solution
[resource sharing] 2022 International Conference on Environmental Engineering and Biotechnology (coeeb 2022)
When the data security law comes, how can enterprises prepare for a rainy day? Tencent security has something to say
Practice sharing of packet capturing tool Charles
Shape change loader loads jsjs special effect code
charles抓包工具使用教程
抓包工具charles實踐分享
A method to solve the self-adaptive width and height of the internal picture of rich text label in wechat applet
Process and multithreading
Any 与 TypeVar,让 IDE 的自动补全更好用
What is the knowledge map? What does it do