title: fragment Include binding wont set variable
body: <p>I have a fragment with an xml file. The xml file tries to include an other xml file. When I try to use binding, to set different variables of the included xml, nothing happens. Here is my code:</p>
  <p>fragment xml (short version):</p>
  <pre><code> &lt;include
                      android:id=&quot;@+id/include2&quot;
                      layout=&quot;@layout/sende_option_box&quot;
                      android:layout_width=&quot;0dp&quot;
                      android:layout_height=&quot;147dp&quot;
                      android:layout_marginStart=&quot;16dp&quot;
                      android:layout_marginTop=&quot;32dp&quot;
                      android:layout_marginEnd=&quot;16dp&quot;
                      app:title='@{&quot;foo&quot;}'
                      app:numbervalue='@{&quot;foo&quot;}'
                      app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                      app:layout_constraintHorizontal_bias=&quot;0.0&quot;
                      app:layout_constraintStart_toStartOf=&quot;parent&quot;
                      app:layout_constraintTop_toBottomOf=&quot;@+id/textView25&quot; /&gt;
  </code></pre>
  <p>Included xml:</p>
  <pre><code>&lt;layout&gt;
  &lt;data&gt;
      &lt;variable name=&quot;title&quot; type=&quot;String&quot; /&gt;
      &lt;variable name=&quot;numbervalue&quot; type=&quot;String&quot; /&gt;
  &lt;/data&gt;
  
  &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;147dp&quot;
      android:background=&quot;@drawable/parcel_list_item_borderbox&quot;
      android:elevation=&quot;5dp&quot;&gt;
  
      &lt;TextView
          android:id=&quot;@+id/textView26&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginStart=&quot;21dp&quot;
          android:layout_marginTop=&quot;33dp&quot;
          android:text=&quot;@{title}&quot;
          android:textAppearance=&quot;@style/TextAppearanceBoldBody22&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot;
          tools:text=&quot;Opptil 10kg&quot;/&gt;
  
      &lt;TextView
          android:id=&quot;@+id/textView27&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginStart=&quot;21dp&quot;
          android:text=&quot;Norgespakken&quot;
          android:textAppearance=&quot;@style/TextAppearanceBody15&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/textView26&quot; /&gt;
  
      &lt;LinearLayout
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginStart=&quot;21dp&quot;
          android:layout_marginBottom=&quot;15dp&quot;
          android:background=&quot;@color/postenVeryLightPink&quot;
          android:padding=&quot;6dp&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;&gt;
  
          &lt;TextView
              android:id=&quot;@+id/textView28&quot;
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:text=&quot;@{numbervalue}&quot;
              android:textAppearance=&quot;@style/TextAppearanceBoldBody15&quot;
              android:textColor=&quot;@color/postenPrimaryDark&quot;
              tools:layout_editor_absoluteX=&quot;50dp&quot;
              tools:layout_editor_absoluteY=&quot;17dp&quot;
              tools:text=&quot;Fra 149,-&quot;/&gt;
      &lt;/LinearLayout&gt;
  
      &lt;ImageView
          android:id=&quot;@+id/imageView6&quot;
          android:layout_width=&quot;120dp&quot;
          android:layout_height=&quot;120dp&quot;
          android:layout_marginEnd=&quot;12dp&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot;
          app:srcCompat=&quot;@drawable/alert_message_borderbox_yellow&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  
  <p>The build runs, but there is no <code>foo</code> showing in the view as I wanted it to. What am I doing wrong? Is it because of its a fragment?</p>