title: Pass view id or reference in databinding method reference
body: <p>I have an xml with multiple TextInputLayouts. One of them goes as follows:</p>
  
  <pre><code>        &lt;android.support.design.widget.TextInputLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:id="@+id/textInputEmail"
                  app:layout_constraintStart_toStartOf="parent"
                  android:layout_marginLeft="@dimen/default_margin"
                  android:layout_marginStart="@dimen/default_margin"
                  app:layout_constraintEnd_toEndOf="parent"
                  android:layout_marginEnd="@dimen/default_margin"
                  android:layout_marginRight="@dimen/default_margin"
                  android:layout_marginTop="@dimen/default_margin_half"
                  app:layout_constraintTop_toTopOf="parent"
                  android:layout_marginBottom="@dimen/default_margin_half"
                  app:layout_constraintBottom_toBottomOf="parent"&gt;
  
              &lt;android.support.design.widget.TextInputEditText
                      android:id="@+id/editTextEmail"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/email"
                      android:text="@={viewModel.username}"
                      android:onTextChanged="@{(text, start, before, count) -&gt; viewModel.onTextChanged(text)}"
                      android:inputType="textEmailAddress"/&gt;
          &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <hr>
  
  <p>In my viewmodel I have text change listener implemented as follows:</p>
  
  <hr>
  
  <pre><code>    fun onTextChanged(text: CharSequence){
      Log.i("LoginViewModel", "username = "+text)
  }
  </code></pre>
  
  <hr>
  
  <p>What I want to do is something like this:</p>
  
  <pre><code>    fun onTextChanged(text: CharSequence, view: View){
      when(view.id){
          R.id.editText1 -&gt; doSomething1()
          R.id.editText2 -&gt; doSomething2()
  }
  </code></pre>
  
  <hr>
  
  <p>Is it possible to pass view/id/reference of the view that triggered the method, when databinding is used to call methods?</p>