Try something like: val recyclerView = findViewById<RecyclerView>(R.id.recycler_view). You can use Kotlin Android Extensions too for that.
確定! 回上一頁