title: Android: OnDestroy isn't called when I close the app from the recent apps button
body: <p>When we press this button <a href="https://i.stack.imgur.com/5D9nI.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/5D9nI.jpg" alt=""></a></p>
  
  <p>We see the apps which we didn't close, like this
  <a href="https://i.stack.imgur.com/sHfop.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/sHfop.jpg" alt=""></a></p>
  
  <p>But when we want to close an app from this screen (below image), the method onDestroy() isn't called, however the app is closed. I need to call onDestroy() when the app is closed in this way. How can I do this?<a href="https://i.stack.imgur.com/djLu1.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/djLu1.jpg" alt=""></a></p>