Search code examples
androidlifecycle

android lifecycle methods don't call


Can anyone help me ? In my android application, in activity class. I overriden onStart() and onStop() methods. But when I just fast minimize and restore application, this methods don't call. Why ? and how I can force detect and call it's ?


Solution

  • When You minimize or restore application according to life cycle it will call onResume method so track your application when it start it will call onCreate and onStart then it will call OnResume Method.