From 27a2c6b927704da123bf343164396842e1a684a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E5=BA=86=E6=B3=89?= Date: Fri, 2 Feb 2024 16:10:34 +0800 Subject: [PATCH] Update uts-for-android.md --- docs/plugin/uts-for-android.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/plugin/uts-for-android.md b/docs/plugin/uts-for-android.md index 6d62d94d..5f4f29ea 100644 --- a/docs/plugin/uts-for-android.md +++ b/docs/plugin/uts-for-android.md @@ -1472,6 +1472,19 @@ open class User : Person, android.view.View.OnClickListener, Cloneable { + 目前暂不支持匿名声明,需要先定义一个 StartBroadcastListener 声明实现 OnClickListener 后再显性的创建 +### 6.15 UTS 如何访问静态实例方法 + +kotlin编译后的AAR,会将访问方法修改为私有,不能以下面的方法访问 + +``` +ScancodeConfig.setShowLine(false); +``` + +应该使用属性访问: + +``` +ScancodeConfig.showLine = false; +``` -- GitLab