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:
@@ -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