I have "Name expected" error in my Intent() second argument. Are there any missing arguments?
fun setListeners() {
val intent = Intent(applicationContext, SignUpActivity.class)
}
CodePudding user response:
You should write instead :
val intent = Intent(applicationContext, SignUpActivity::class.java)