在以前使用eclipse实现一个类的接口的时候会生成
// TODO Auto-generated method stub
默认是注释的,所以不处理也不会有什么问题。
但是使用kotlin开发Android,实现接口的时候,会在override的方法中添加如下语句
TODO(“not implemented”) //To change body of created functions use File | Settings | File Templates.
一定要删除,否则运行时会报如下错误
kotlin.NotImplementedError: An operation is not implemented: not implemented