Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdynamic committed Jun 30, 2020
1 parent 13a2268 commit 9ecbd39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,15 @@ AppDatabase.getInstance().getTestJavaDao().getTestJava("123");
```


## 协程或子线程使用:
## 协程或子线程使用

可参考YLibrary中数据库的使用示例,https://github.com/jyfree/YLibrary

YLibrary使用:

1、实现CoroutineRequest可以使用协程访问数据库

2、实现ThreadRequest可以使用子线程访问数据库

可参考YLibrary中数据库的使用示例,https://github.com/jyfree/YLibrary


0 comments on commit 9ecbd39

Please sign in to comment.