Answers for "open fragment from activity kotlin"

2

open fragment from activity kotlin

if (savedInstanceState == null) {
            val f = DnsTestFragment()
            val t: FragmentTransaction = supportFragmentManager.beginTransaction()
            t.replace(binding.findastestFramelayout.id, f).commit()
        }
Posted by: Guest on August-17-2021

Code answers related to "open fragment from activity kotlin"

Browse Popular Code Answers by Language