title: RunOnUIThread from CustomCursorAdapter
body: <p><strong>What I Have</strong></p>
  <p>I have a Custom Cursor Adapter from where I run a Thread to do some heave tasks.</p>
  <p><strong>What I Want</strong></p>
  <p>I want to update he UI upon completion of the thread, like showing a Toast.</p>
  <p><strong>My Problem</strong></p>
  <p>As I am inside the Custom Cursor Adapter, I am unable to get the Activity to use the <code>runOnUiThread</code> method like <code>getActivity().runOnUiThread()</code>. The Custom Cursor Adapter class is just a Java class and not an Activity or Fragment.</p>
  <p>How can I get the <code>Activity</code> reference and execute the <code>runOnUiThread</code> method from my <code>CustomCursorAdapter</code>?</p>