title: Android activity Lifecycle does not work properly
body: <p>I'm developing a android 2D game in android studio.</p>
  
  <p>I have a problem with my activity Lifecycle.</p>
  
  <p>My question is this:</p>
  
  <p>I have 2 activities. One named LauncherActivity, and the other named MainActivity.</p>
  
  <p>When I first launch the app, the LauncherActivity launches, and everything works just fine.Then, when I go the the MainAcitivty, which is the activity that hold my game, meaning that it has the line : setContentView(new GameController(this)), everything still works fine. Then when I go back to the launcher activity, everything still works fine, but NOW when I'm trying to go back to the game, the MainActivity, in the second time, then the Lifecycle is as follow:</p>
  
  <p>onCreate(),onStart(),onResume(),onPause(),onStop(),onResume().</p>
  
  <p>This is ruining all my game, because I have specific things in my onStop() method, which I can not allow them to be executed when the activity launch.</p>
  
  <p>Does someone know how to fix this ? What am I doing wrong ? </p>
  
  <p>If I was not clear, please ask me and I will explain.</p>