提交 a96be066 编写于 作者: 杜庆泉's avatar 杜庆泉

修改部分 extends 关键字 为 implements

上级 3ef26aa4
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
import LottieDrawable from 'com.airbnb.lottie.LottieDrawable' import LottieDrawable from 'com.airbnb.lottie.LottieDrawable'
import FileInputStream from 'java.io.FileInputStream' import FileInputStream from 'java.io.FileInputStream'
class CustomAnimListener extends Animator.AnimatorListener { class CustomAnimListener implements Animator.AnimatorListener {
comp: UTSComponent < LottieAnimationView > comp: UTSComponent < LottieAnimationView >
constructor(com: UTSComponent < LottieAnimationView > ) { constructor(com: UTSComponent < LottieAnimationView > ) {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
import LinearLayout from 'android.widget.LinearLayout' import LinearLayout from 'android.widget.LinearLayout'
import View from 'android.view.View' import View from 'android.view.View'
class ButtonClickListsner extends View.OnClickListener { class ButtonClickListsner implements View.OnClickListener {
constructor() { constructor() {
super() super()
} }
......
...@@ -161,7 +161,7 @@ class ScreenReceiver extends BroadcastReceiver{ ...@@ -161,7 +161,7 @@ class ScreenReceiver extends BroadcastReceiver{
} }
class StartServiceListener extends OnClickListener{ class StartServiceListener implements OnClickListener{
override onClick(v?: View):void{ override onClick(v?: View):void{
...@@ -177,7 +177,7 @@ class StartServiceListener extends OnClickListener{ ...@@ -177,7 +177,7 @@ class StartServiceListener extends OnClickListener{
} }
class StartBroadcastListener extends OnClickListener{ class StartBroadcastListener implements OnClickListener{
override onClick(v?: View):void{ override onClick(v?: View):void{
...@@ -193,7 +193,7 @@ class StartBroadcastListener extends OnClickListener{ ...@@ -193,7 +193,7 @@ class StartBroadcastListener extends OnClickListener{
} }
} }
class StartThreadListener extends OnClickListener{ class StartThreadListener implements OnClickListener{
override onClick(v?: View):void{ override onClick(v?: View):void{
new CustomThread().start() new CustomThread().start()
...@@ -204,7 +204,7 @@ class StartThreadListener extends OnClickListener{ ...@@ -204,7 +204,7 @@ class StartThreadListener extends OnClickListener{
} }
class ActivityFinishListener extends OnClickListener{ class ActivityFinishListener implements OnClickListener{
host:Activity host:Activity
...@@ -220,7 +220,7 @@ class ActivityFinishListener extends OnClickListener{ ...@@ -220,7 +220,7 @@ class ActivityFinishListener extends OnClickListener{
} }
} }
class RootActivityStartListener extends OnClickListener{ class RootActivityStartListener implements OnClickListener{
host:Activity host:Activity
...@@ -236,7 +236,7 @@ class RootActivityStartListener extends OnClickListener{ ...@@ -236,7 +236,7 @@ class RootActivityStartListener extends OnClickListener{
} }
} }
class RootPageStartListener extends OnClickListener{ class RootPageStartListener implements OnClickListener{
host:Activity host:Activity
......
...@@ -84,7 +84,7 @@ class LocationOptionsWapper{ ...@@ -84,7 +84,7 @@ class LocationOptionsWapper{
/** /**
* Tencent 定位监听实现类 * Tencent 定位监听实现类
*/ */
class SingleLocationListener extends TencentLocationListener { class SingleLocationListener implements TencentLocationListener {
hostOptionWraper:LocationOptionsWapper; hostOptionWraper:LocationOptionsWapper;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册