title: Cannot find the getter for attribute 'app:rowContentText' with value type java.lang.String on com.example.widget.MyTableRow
body: <p>I'm trying to use two-way data binding in Android, but it throws an error like this title you see.</p>
  
  <p>MyTableRow is a custom viewgroup:</p>
  
  <pre><code>public class MyShopTableRow extends RelativeLayout {
  
      ...
  
      public void setRowContentText(String text) {
          mRowInputEt.setText(text);
      }
  
      public String getRowContentText() {
          if(TextUtils.isEmpty(mRowInputEt.getText())){
              return "";
          }
          return mRowInputEt.getText().toString();
      }
  }
  </code></pre>
  
  <p>Then I use it in XML file:</p>
  
  <pre><code>&lt;data&gt;
      &lt;variable
          name="shopInfo"
          type="com.example.TableModel" /&gt;
  &lt;/data&gt;
  
  &lt;com.example.widget.MyTableRow
          android:layout_width="match_parent"
          android:layout_height="46dp"
          android:layout_marginTop="11dp"
          ...
          app:rowInputType="text"
          app:size="regular"
          ...
          app:rowContentText="@={shopInfo.shopName}"/&gt;
  </code></pre>
  
  <p>The Model file is :</p>
  
  <pre><code>public class TableModel {
  
      public String shopName = "lalala";
      ....
  }
  </code></pre>
  
  <p>The Snippet works when it is just a one-way data binding (@{shopInfo.shopName}), but failed (cannot find the getter for attribute) if it is two-way binding.</p>
  
  <p>I also found a <a href="https://stackoverflow.com/questions/38055194/cannot-find-the-getter-for-attribute-appvm-with-value-type-boolean">question</a> about this issue, but the answer didn't work for me.</p>
  
  <pre><code>//The answer will throw an error below
  //Error:(55, 17) Could not find event 'rowContentTextAttrChanged' on View type 'com.example.MyTableRow' 
  @InverseBindingMethods({
      @InverseBindingMethod(type = MyShopTableRow.class, attribute = "rowContentText"),
  })
  public class MyShopTableRow extends RelativeLayout {
      ...
  }
  </code></pre>
  
  <p>Is it a bug of IDE or dataBinding lib?</p>