Open Fragment From Activity Kotlin

[Solved] Open Fragment From Activity Kotlin | Kotlin - Code Explorer | yomemimo.com
Question : open fragment from activity kotlin

Answered by : abdullah-0kvpuik7ilzv

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

Source : | Last Update : Tue, 24 Aug 21

Answers related to open fragment from activity kotlin

Code Explorer Popular Question For Kotlin