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

Update uts-for-android.md

上级 6d1f26a5
......@@ -891,16 +891,20 @@ uts中,需要区分全局方法、成员方法
|实现接口|:|implements|
```kotlin
class MediaContentObserver : ContentObserver {
```ts
// 使用UTS 实现 OnClickListener接口
class StartServiceListener extends OnClickListener{
override onClick(v?: View):void{
// 执行点击逻辑
}
}
```
```ts
class MediaContentObserver extends ContentObserver {
}
```
#### 5.1.5 非空断言
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册