Cyberpunk Keanu
11/15/2019, 12:46 PMview.setOnClickListener { v->
v.context.startActivity(Intent(v.context, NextClass::class.java))
}
but if I try to write it outside the lambda, I get an error saying that Intent needs a FLAG_CLEAR_NEW_TASK. But Idk where to put it? Any suggestions?thymecypher
11/15/2019, 3:47 PMCyberpunk Keanu
11/15/2019, 4:14 PM