logo头像
Snippet 博客主题

kotlin如何创建匿名函数

如何添加匿名类 使用object关键字声明接口,随后重写其的方法。 1)设计接口123interface OnItemClickListener<T> { fun onItemChoose(pos: In...