title: Call Activity method from adapter
body: <p>Is it possible to call method that is defined in <code>Activity</code> from <code>ListAdapter</code>?</p>
  
  <p>(I want to make a <code>Button</code> in <code>list's</code> row and when this button is clicked, it should perform the method, that is defined in corresponding Activity. I tried to set <code>onClickListener</code> in my <code>ListAdapter</code> but I don't know how to call this method, what's its path...) </p>
  
  <p>when I used <code>Activity.this.method()</code> I get the following error:</p>
  
  <pre><code>No enclosing instance of the type Activity is accessible in scope
  </code></pre>
  
  <p>Any Idea ?</p>