From a96be066448faf273357741177ad9bc334436996 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Wed, 10 Jul 2024 16:22:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=20extends?= =?UTF-8?q?=20=E5=85=B3=E9=94=AE=E5=AD=97=20=E4=B8=BA=20implements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uts-animation-view/utssdk/app-android/index.vue | 2 +- .../uts-hello-component/utssdk/app-android/index.vue | 2 +- .../uts-nativepage/utssdk/app-android/index.uts | 12 ++++++------ .../utssdk/app-android/index.uts | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/uni_modules/uts-animation-view/utssdk/app-android/index.vue b/uni_modules/uts-animation-view/utssdk/app-android/index.vue index 2db7de0..d084a60 100644 --- a/uni_modules/uts-animation-view/utssdk/app-android/index.vue +++ b/uni_modules/uts-animation-view/utssdk/app-android/index.vue @@ -11,7 +11,7 @@ import LottieDrawable from 'com.airbnb.lottie.LottieDrawable' import FileInputStream from 'java.io.FileInputStream' - class CustomAnimListener extends Animator.AnimatorListener { + class CustomAnimListener implements Animator.AnimatorListener { comp: UTSComponent < LottieAnimationView > constructor(com: UTSComponent < LottieAnimationView > ) { diff --git a/uni_modules/uts-hello-component/utssdk/app-android/index.vue b/uni_modules/uts-hello-component/utssdk/app-android/index.vue index b90a1ce..d804f3e 100644 --- a/uni_modules/uts-hello-component/utssdk/app-android/index.vue +++ b/uni_modules/uts-hello-component/utssdk/app-android/index.vue @@ -10,7 +10,7 @@ import LinearLayout from 'android.widget.LinearLayout' import View from 'android.view.View' - class ButtonClickListsner extends View.OnClickListener { + class ButtonClickListsner implements View.OnClickListener { constructor() { super() } diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index 1f11217..065d304 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -161,7 +161,7 @@ class ScreenReceiver extends BroadcastReceiver{ } -class StartServiceListener extends OnClickListener{ +class StartServiceListener implements OnClickListener{ override onClick(v?: View):void{ @@ -177,7 +177,7 @@ class StartServiceListener extends OnClickListener{ } -class StartBroadcastListener extends OnClickListener{ +class StartBroadcastListener implements OnClickListener{ override onClick(v?: View):void{ @@ -193,7 +193,7 @@ class StartBroadcastListener extends OnClickListener{ } } -class StartThreadListener extends OnClickListener{ +class StartThreadListener implements OnClickListener{ override onClick(v?: View):void{ new CustomThread().start() @@ -204,7 +204,7 @@ class StartThreadListener extends OnClickListener{ } -class ActivityFinishListener extends OnClickListener{ +class ActivityFinishListener implements OnClickListener{ host:Activity @@ -220,7 +220,7 @@ class ActivityFinishListener extends OnClickListener{ } } -class RootActivityStartListener extends OnClickListener{ +class RootActivityStartListener implements OnClickListener{ host:Activity @@ -236,7 +236,7 @@ class RootActivityStartListener extends OnClickListener{ } } -class RootPageStartListener extends OnClickListener{ +class RootPageStartListener implements OnClickListener{ host:Activity diff --git a/uni_modules/uts-tencentgeolocation/utssdk/app-android/index.uts b/uni_modules/uts-tencentgeolocation/utssdk/app-android/index.uts index b3fc2d8..bbd4a64 100644 --- a/uni_modules/uts-tencentgeolocation/utssdk/app-android/index.uts +++ b/uni_modules/uts-tencentgeolocation/utssdk/app-android/index.uts @@ -84,7 +84,7 @@ class LocationOptionsWapper{ /** * Tencent 定位监听实现类 */ -class SingleLocationListener extends TencentLocationListener { +class SingleLocationListener implements TencentLocationListener { hostOptionWraper:LocationOptionsWapper; -- GitLab