title: In Android DataBinding how to get integer from editText and use it in by Kotlin
body: <p>I want to use DataBinding in Android by Kotlin with below example
  I have two EditText with one button  and two TextViews below them, whenever i click button i expected the texts that i have entered in EditTexts will be shown in two TextViews.
  I have User Class (Model) and if two fields of this class be String every thing is OK and my code work normally but My problem is when one field be integer i got this error :
  cannot find symbol import com.example.mydatabinding.databinding.ActivityMainBindingImpl;</p>
  <p>it's appreciated if some Body could help me .</p>
  <p>My xml code:</p>
  <p><a href="https://i.stack.imgur.com/rXOkq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rXOkq.jpg" alt="enter image description here" /></a></p>
  <p>sorry this platform is not User friendly for me  at all i can't use Ctrl K for all of XML code !! so i bring some in photo some by ctrl K every time for asking question i got bad headache !
  let's continue</p>
  <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      tools:context=&quot;.MainActivity&quot;&gt;
  
      &lt;EditText
          android:id=&quot;@+id/user_name_edit&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginTop=&quot;16dp&quot;
          android:ems=&quot;10&quot;
          android:hint=&quot;name ?&quot;
          android:inputType=&quot;textPersonName&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/user_age_edit&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginTop=&quot;8dp&quot;
          android:ems=&quot;10&quot;
          android:hint=&quot;age ?&quot;
          android:inputType=&quot;textPersonName&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/user_name_edit&quot; /&gt;
  
      &lt;Button
          android:id=&quot;@+id/apply_btn&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginTop=&quot;32dp&quot;
          android:text=&quot;Button&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/user_age_edit&quot; /&gt;
  
      &lt;TextView
          android:id=&quot;@+id/user_name_text&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginTop=&quot;32dp&quot;
          android:text=&quot;@={myUser.name}&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/apply_btn&quot; /&gt;
  
      &lt;TextView
          android:id=&quot;@+id/user_age_text&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginTop=&quot;8dp&quot;
          android:text=&quot;@={myUser.age}&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/user_name_text&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  
  <pre><code>&lt;/layout&gt;
  </code></pre>
  <p>and user class code :</p>
  <pre><code>data class User (var name : String =&quot;&quot; , var age :Int =0) {
  </code></pre>
  <p>}</p>
  <p>and MainActivity code :</p>
  <p><a href="https://i.stack.imgur.com/ym9YF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ym9YF.jpg" alt="
  " /></a></p>