Kotlin inflate two layouts in one Fragment
I have a problem, and I cannot change it, because project is big and I have a task, to get to included layout (B) button in main layout (A). I have a standard binding in onCreaveView, but I need to get to button which is included in layout.
My Fragment looks like this now:
private val bindingA by viewInflateBinding(FragmentABinding::inflate)
private val bindingB by viewInflateBinding(FragmentBBinding::inflate)
override fun onCreateView(
inflater: LayoutInflater,
container:...