mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Merge documentation files
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
|
||||
> 你大概率会遇到浏览器缓存造成文档不是最新版本的问题,若已经查看过一次文档,请手动在每个页面上刷新一次以同步最新版本,或清除浏览器缓存。
|
||||
|
||||
The latest version update time/最新版本更新时间:2022-05-27 03:12
|
||||
The latest version update time/最新版本更新时间:2022-05-27 03:57
|
||||
|
||||
## Contacts
|
||||
|
||||
|
@@ -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](#介绍)
|
||||
|
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user