Issue
I have "Name expected" error in my Intent() second argument. Are there any missing arguments?
fun setListeners() {
val intent = Intent(applicationContext, SignUpActivity.class)
}
Solution
You should write instead :
val intent = Intent(applicationContext, SignUpActivity::class.java)
Answered By - Eddie Lopez
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.