activity in how to set fragment in kotlin android code example
Example: how to start activity from fragment in kotlin
activity?.let{
val intent = Intent (it, Main::class.java)
it.startActivity(intent)
}
activity?.let{
val intent = Intent (it, Main::class.java)
it.startActivity(intent)
}