Merge documentation files

This commit is contained in:
2022-05-27 03:58:05 +08:00
parent 639194671b
commit 66631ffed4
3 changed files with 6 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
- 方便移植 快速上手
<font size=3 style="opacity: 0.6">`更新时间 2022-05-27 03:12`</font>
<font size=3 style="opacity: 0.6">`更新时间 2022-05-27 03:57`</font>
[GitHub](https://github.com/fankes/YukiHookAPI)
[Get Started](#介绍)

View File

@@ -532,8 +532,10 @@ class MyApplication : Application() {
override fun attachBaseContext(base: Context?) {
YukiHookAPI.encase(base) {
// ❗不能在这种情况下使用 channel
channel.get("test_data", "default_data")
// ❗不能在这种情况下使用 dataChannel
dataChannel.wait(key = "test_data") {
// ...
}
}
super.attachBaseContext(base)
}