title: Android life cycle event on dialog
body: <p>Can you please explain which activity life cycle method is called when a dialog comes on the application? I'm confused whether its is calling onResume() or onPause() method.</p>
  
  <p>Thanks</p>