修改
This commit is contained in:
@@ -411,7 +411,7 @@ for (i in 1 until 5) {
|
||||
|
||||
```kotlin
|
||||
for (i in 5 downTo 1) {
|
||||
println(i)
|
||||
println(i) // 5 4 3 2 1
|
||||
}
|
||||
|
||||
for (i in 1..10 step 2) {
|
||||
|
||||
@@ -389,6 +389,9 @@ println(localDateTime.dayOfWeek) // SATURDAY 这是一个枚举类 DayOfWeek
|
||||
|
||||
### 拿到类变量
|
||||
|
||||
```kotlin
|
||||
```
|
||||
|
||||
### 利用类变量修改对象
|
||||
|
||||
```kotlin
|
||||
|
||||
@@ -90,7 +90,9 @@ Column 内部,有一个 `Button`,还有一个被 `AnimatedVisibility` 框起
|
||||
|
||||
## 更多的排版工具与资源文档
|
||||
|
||||
[排版 / 组件](https://m3.material.io/components)
|
||||
[KMP 排版设计](https://developer.android.com/develop/ui/compose/layouts/basics?hl=zh-cn)
|
||||
|
||||
[KMP 组件](https://developer.android.com/develop/ui/compose/components?hl=zh-cn)
|
||||
|
||||
[Google 提供的矢量图标](https://fonts.google.com/icons)
|
||||
|
||||
@@ -210,6 +212,6 @@ compose.desktop {
|
||||
|
||||
[目录](../README.md)
|
||||
|
||||
[我曾经写的一个简单的小应用](https://github.com/SOR2171/Dices)
|
||||
[下一篇:复杂逻辑与多平台不同逻辑](./复杂逻辑与多平台不同逻辑.md)
|
||||
|
||||
[下一篇:复杂逻辑与多平台不同逻辑](./复杂逻辑与多平台不同逻辑.md)
|
||||
[尝试完成2026年国庆小项目](https://git.itouc.cn/ITStudio_OUC/KMP_2026_National_Day_Project)
|
||||
Reference in New Issue
Block a user