As per kotlin doc we start new activity with following syntax
startActivity(Intent(this@MainActivity, NextActivity::class.java))
its kotlin so why we add .java after the the class ? why not kt?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…