title: How to databind to onTextChanged for an EditText on Android?
body: <p>In <a href="https://realm.io/news/data-binding-android-boyar-mount/" rel="noreferrer">Yigit Boyar and George Mount's talk on Android Databinding</a> they illustrate how easy it is to bind to <code>TextWatcher</code>'s <code>onTextChanged</code> (at 13:41). On a Button. Are their slides wrong? First of all the <code>Button</code> View doesn't have an <code>onTextChanged</code> property. It neither has a <code>setOnTextChanged</code> method. Neither does <code>EditText</code>. But they both have <code>addTextChangedListener</code> which takes a <code>TextWatcher</code> as input.</p>
  
  <p>So what are they talking about? How do they do it? Their example code does not compile, but gives this error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Error:(17) No resource identifier found for attribute 'onTextChanged' in package 'android'
  </code></pre>
  
  <p>How do I bind to a "Text Changed Event" on any View, or EditText in particular, with the Android Databinding framework?</p>