title: How to show alertdialog from another class and handle it in Current Activity(Android)
body: <p>I am sending notification on certain occurrence and notify user via notification if app is in background and via alert if user is in <strong>foreground</strong>. Now I wonder how to show alert dialog from <strong>my notification class</strong> and handle that <strong>dialog</strong> in <strong>Current Activity</strong>.</p>
  
  <p>Please Guide me on this. Any help will be appreciated.</p>