kotlinx.android.synthetic.** 坑点

Kotlin经过添加java apply plugin: 'kotlin-android-extensions' 能够直接使用layout id 名称获取当前view对象,详细使用以下:android //layout <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.androi
相关文章
相关标签/搜索