File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -280,14 +280,14 @@ public class MyClass {
280
280
281
281
变量名中可能会出现量词,我们需要创建统一的量词,它们更容易理解,也更容易搜索。
282
282
283
- 例如:` mFirstBook ` 、` mPrevBook ` 、` curBook ` 。
283
+ 例如:` mFirstBook ` 、` mPreBook ` 、` curBook ` 。
284
284
285
285
| 量词列表 | 量词后缀说明 |
286
286
| ------- | ---------- |
287
287
| ` First ` | 一组变量中的第一个 |
288
288
| ` Last ` | 一组变量中的最后一个 |
289
289
| ` Next ` | 一组变量中的下一个 |
290
- | ` Prev ` | 一组变量中的上一个 |
290
+ | ` Pre ` | 一组变量中的上一个 |
291
291
| ` Cur ` | 一组变量中的当前变量 |
292
292
293
293
@@ -1152,7 +1152,7 @@ AS 已帮你集成了一些注释模板,我们只需要直接使用即可,
1152
1152
| escape | esc |
1153
1153
| icon | ic(主要用在 App 的图标) |
1154
1154
| increment | inc |
1155
- | infomation | info |
1155
+ | information | info |
1156
1156
| initial | init |
1157
1157
| image | img |
1158
1158
| Internationalization | I18N |
@@ -1161,12 +1161,12 @@ AS 已帮你集成了一些注释模板,我们只需要直接使用即可,
1161
1161
| message | msg |
1162
1162
| password | pwd |
1163
1163
| position | pos |
1164
- | previous | prev |
1164
+ | previous | pre |
1165
1165
| selector | sel(主要用于某一 view 多种状态,不仅包括 ListView 中的 selector,还包括按钮的 selector) |
1166
1166
| server | srv |
1167
1167
| string | str |
1168
1168
| temporary | tmp |
1169
- | window | wnd( win) |
1169
+ | window | win |
1170
1170
1171
1171
程序中使用单词缩写原则:不要用缩写,除非该缩写是约定俗成的。
1172
1172
You can’t perform that action at this time.
0 commit comments