Browse Source

Updated files

master
adiao 3 years ago
parent
commit
06b0660f1b
  1. 6
      项目命名/项目命名格式.md

6
项目命名/项目命名格式.md

@ -83,8 +83,8 @@ team team.团队名.项目名.模块名.…… 团队项目,指由团队发起 @@ -83,8 +83,8 @@ team team.团队名.项目名.模块名.…… 团队项目,指由团队发起
| 位置 | 单词 | 意义| 例 |
| :-----| :------| :-------| :------------- |
| Prefix |blocking 线程阻塞方法 blockingGetUser
| Suffix |InBackground 执行在后台的线程 doInBackground
| Prefix |blocking| 线程阻塞方法 blockingGetUser
| Suffix |InBackground| 执行在后台的线程 doInBackground
| Suffix |Async 异步方法 sendAsync
| Suffix |Sync 对应已有异步方法的同步方法 sendSync
| Prefix or Alone| schedule Job 和 Task 放入队列 schedule, scheduleJob
@ -92,7 +92,7 @@ team team.团队名.项目名.模块名.…… 团队项目,指由团队发起 @@ -92,7 +92,7 @@ team team.团队名.项目名.模块名.…… 团队项目,指由团队发起
| Prefix or Alone| execute 执行异步方法(注:我一般拿这个做同步方法名) execute, executeTask
| Prefix or Alone| start 同上 start, startJob
| Prefix or Alone| cancel 停止异步方法 cancel, cancelJob
| Prefix or Alone stop 同上 stop, stopJob
| Prefix or Alone| stop 同上 stop, stopJob
##### 4.5 回调方法

Loading…
Cancel
Save