title: Parameterless OnClick method call with DataBinding
body: <p>I have a custom <code>Presenter</code> class and I cannot seem to get around having to pass an <code>android.view.View</code> object as a parameter into a method I want executed when user clicks on a button, even though I do not need the <code>View</code> object. Using <code>DataBinding</code>, is it possible to bind an <code>onClick</code> event to a method without parameters from <code>XML</code>?</p>
  
  <pre><code>&lt;layout&gt;
     &lt;data&gt;
       &lt;variable
              name="presenter"
              type="com.somepackage.Presenter"/&gt;
      &lt;/data&gt;
      ...
      android:onClick="@{ presenter.onClick }"
      ...
  &lt;/layout&gt;
  </code></pre>
  
  <p>In the <code>Presenter</code> class, I must have the following signature, or code doesn't compile:</p>
  
  <pre><code>...
  public void onClick( @NonNull View ignored ) {
       //do something that doesn't use the view parameter
  }
  ...
  </code></pre>
  
  <p>What I would like to do is to have a method signature in my <code>Presenter</code> calss that doesn't have a View as a parameter:</p>
  
  <pre><code>...
  public void onClick() {
       //do something that doesn't use the view parameter
  }
  ...
  </code></pre>
  
  <p>Is that possible? </p>