内容简介:NativeScript 6.2 已经发布,主要内容如下: Dark Mode 该版本引入黑暗模式: 更新主题,最新版本支持黑暗模式的开箱即用 拥有自己实现黑暗模式所需的扩展点 可以选择从操作系统继承暗模式设置,也可以在应用程序...
NativeScript 6.2 已经发布,主要内容如下:
Dark Mode
该版本引入黑暗模式:
- 更新主题,最新版本支持黑暗模式的开箱即用
- 拥有自己实现黑暗模式所需的扩展点
- 可以选择从操作系统继承暗模式设置,也可以在应用程序中实现自定义控件
- 大多数 “Pro” NativeScript 组件,如日历、图表和 DataFrom,已经提供了黑暗模式外观
Scoped NPM Packages
该版本在单个 NPM 范围内提供所有 NativeScript NPM 包,包括新的:
- @nativescript/core
- @nativescript/angular
- @nativescript/theme
Kotlin 的扩展函数/属性支持
现在能够在 NativeScript 中调用用 Kotlin 写成的 ArrayList 扩展函数:
fun ArrayList<String>.bubbleSort() { // Implementation of a bubble sort }
然后,在 NativeScript 应用程序中,调用此函数:
let arrayList = new java.util.ArrayList();
arrayList.bubbleSort();
详细内容请见发布说明:
https://www.nativescript.org/blog/nativescript-6.2-the-darkest-release-ever
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 设计模式之发布订阅模式(2) Redis实现发布订阅模式
- 设计模式之发布订阅模式(1) 一文搞懂发布订阅模式
- 发布订阅模式与观察者模式
- JavaScript 设计模式之观察者模式与发布订阅模式
- TypeScript 设计模式之发布:订阅模式
- 观察者模式 vs 发布订阅模式
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
RESTful Web Services Cookbook
Subbu Allamaraju / Yahoo Press / 2010-3-11 / USD 39.99
While the REST design philosophy has captured the imagination of web and enterprise developers alike, using this approach to develop real web services is no picnic. This cookbook includes more than 10......一起来看看 《RESTful Web Services Cookbook》 这本书的介绍吧!