title: How to restart an activity through a dialog pop-up in android?
body: <p>So I have a game where if the player loses, a dialog pops up and asks the player whether they want to play again. </p>
  
  <p>How do I restart the game activity if the user selects yes?</p>