title: How to start Activity in adapter?
body: <p>I have a ListActivity with my customized adapter and inside each of the view, it may have some buttons, in which I need to implement <code>OnClickListener</code>. I need to implement the <code>OnClickListener</code> in the adapter. However, I don't know how to call the function like <code>startActivity()</code> or <code>setResult()</code>. Since the adapter doesn't extend to Activity. </p>
  
  <p>So what is the best way to solve this problem? </p>
  
  <p>Thanks.</p>