【发布时间】:2016-10-20 11:18:48
【问题描述】:
我正在创建界面,其中的一些功能有一个主体。 要求实现该接口的类在执行其他代码之前必须在覆盖函数中调用super。 我该怎么做?
interface Watcher {
fun funWithoutBody()
fun startWatching() {
//do some important stuff which must be called
}
}
【问题讨论】:
标签: android kotlin annotations