I have an activity with ConstraintLayout
and fragment on it:
<androidx.constraintlayout.widget.ConstraintLayout
...attributes....
>
<fragment
android:id="@+id/containerView"
app:navGraph="@navigation/some_navigation"
...other attributes...
/>
...other views...
I'm using view binding in the activity code:
binding = ActivityMainBinding.inflate(layoutInflater)
the issue here that i have no access to the binding.containerView
.
Does in case of fragment
I should use findViewById
?