[Solution found!] 您可以MainActivity通过使用合格的this来获得对Kotlin中对象的引用。例如: class MyActivity : MainActivity() { val builder = MaterialDialog.
確定! 回上一頁