摘要: android开发kotlin顶级函数和拓展函数的实现原理 //我们编写的源代码在MainActivity.kt下面,如下: fun topTest(){ print("123") } fun MainActivity.extTest(){ print("456") } class MainActi 阅读全文
posted @ 2023-02-12 00:30 yongfengnice 阅读(123) 评论(0) 推荐(0) 编辑