Answers for "get activity function from fragment in kotlin"

-2

how to start activity from fragment in kotlin

activity?.let{
    val intent = Intent (it, Main::class.java)
    it.startActivity(intent)
}
Posted by: Guest on February-15-2021

Code answers related to "get activity function from fragment in kotlin"

Browse Popular Code Answers by Language