title: android viewmodel with/without baseObservable
body: <p>I was trying to view-model in android, so for MainViewModel.java I wrote this :</p>
  
  <pre><code>
  public class MainViewModel extends ViewModel {
  
      private String textView;
      private String editText;
  
      //@Bindable
      public String getTextView(){
          return textView;
      }
  
      private void setTextView(String value){
          textView=value;
      }
  
      //@Bindable
      public TextWatcher getEditTextWatcher() {
          return new TextWatcher() {
              @Override
              public void onTextChanged(CharSequence s, int start, int before, int count) {
                  setTextView(s.toString());
              }
              ...
          };
      }
  
  }
  </code></pre>
  
  <p>And in the ActivityMain.xml I wrote this :</p>
  
  <pre><code>
          &lt;TextView
              android:text="View-Model / Data-Binding"
              android:layout_width="match_parent"
              android:layout_height="40dp"/&gt;
  
          &lt;TextView
              android:id="@+id/main_text_view"
              android:text="@{mainvm.textView}"
              android:layout_width="match_parent"
              android:layout_height="40dp"/&gt;
  
          &lt;EditText
              android:id="@+id/main_edit_text"
              app:textChangeListener="@{mainvm.editTextWatcher}"
              android:layout_width="match_parent"
              android:layout_height="40dp"/&gt;
  </code></pre>
  
  <p>I'm getting 2 errors:</p>
  
  <pre><code>Cannot find a setter for &lt;android.widget.EditText app:textChangeListener&gt; that accepts parameter type 'android.text.TextWatcher'
  
  If a binding adapter provides the setter, check that the adapter is annotated correctly and that the parameter type matches.
  </code></pre>
  
  <p>And,</p>
  
  <pre><code>error: cannot find symbol class ActivityMainBindingImpl
  </code></pre>
  
  <p>Some article uses @Binable annotation extending BaseObservable, which is not a ViewModel thing.</p>
  
  <p>So my question how can I solve this ?</p>