title: How do I get Activity Context inside DialogInterface.OnClickListener.onClick()?
body: <p>I was looking at this question:</p>
  
  <blockquote>
    <p><a href="https://stackoverflow.com/questions/5447092/get-context-inside-onclickdialoginterface-v-int-buttonid">How to get Context inside DialogInterface.OnClickListener</a></p>
  </blockquote>
  
  <p>but none of the answers helped me.</p>
  
  <p>How can I get access to the Activity context inside the <code>onClick()</code> method of <code>DialogInterface.OnClickListener</code> (without using Activity.this) ?</p>