mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 10:45:47 +08:00
Merge documentation files
This commit is contained in:
@@ -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