📜  在 kotlin 中使用惰性方法的 findviewbyid - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:30.295000             🧑  作者: Mango

代码示例1
private val contentContainer by lazy {
        findViewById(R.id.content_container)
    }