title: Pass another view as parameter in data binding
body: <p>I am trying to pass a another view of my xml as a parameter of a method in Google data binding... like this:</p>
  
  <pre><code>&lt;LinearLayout
      android:id="@+id/faq_subject_about_ego"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@drawable/border_faq_btn"
      android:orientation="horizontal"
      android:layout_marginBottom="20dp"
      android:padding="4dp"
      android:gravity="center"
      android:onClick='@{(faq_title_about) -&gt; viewModel.subjectRequest(faq_title_about.getText())}'&gt;
  
      &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/icon_faq"
          android:layout_marginRight="8dp"
          android:clickable="false" /&gt;
  
      &lt;ebanx.com.ego.utils.custom_extension.CustomButtonBold
          android:id="@+id/faq_title_about"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          style="@style/Button_FAQ"
          android:text="@string/btn_about_ego"
          android:clickable="false" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I need the text that is in my CustomButtonBold... But this is not working.</p>
  
  <p><strong>How can I pass the text of the button as a parameter?</strong></p>
  
  <p>Any help is appreciated!</p>