fragmen terbuka dari aktivitas Kotlin

if (savedInstanceState == null) {
            val f = DnsTestFragment()
            val t: FragmentTransaction = supportFragmentManager.beginTransaction()
            t.replace(binding.findastestFramelayout.id, f).commit()
        }
abdullah