From 7db4d3e6b11fd2147b79baa065f8841431634c56 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sat, 24 Sep 2022 22:05:01 +0800 Subject: [PATCH] Update xposed-channel documentation --- docs-source/src/zh-cn/api/special-features/xposed-channel.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs-source/src/zh-cn/api/special-features/xposed-channel.md b/docs-source/src/zh-cn/api/special-features/xposed-channel.md index f40d4055..b3fc8673 100644 --- a/docs-source/src/zh-cn/api/special-features/xposed-channel.md +++ b/docs-source/src/zh-cn/api/special-features/xposed-channel.md @@ -166,7 +166,9 @@ class OtherActivity : AppCompatActivity() { 相同的 **key** 在同一个 **Activity** 不同的 **Fragment** 中注册 **dataChannel**,它们依然会在当前 **Activity** 中同时被回调。 -在模块中,你只能使用 **Activity** 的 **Context** 注册 **dataChannel**,你不能在 **Application** 以及 **Service** 等地方使用 **dataChannel**,若要在 **Fragment** 中使用 **dataChannel**,请使用 **activity?.dataChannel(...)**。 +在模块中,你只能使用 **Activity** 的 **Context** 注册 **dataChannel**,你不能在 **Application** 以及 **Service** 等地方使用 **dataChannel**。 + +若要在 **Fragment** 中使用 **dataChannel**,请使用 **activity?.dataChannel(...)**。 :::