0

In my application I need to call a method as Recent App Button is pressed, I am developing an application in which I need to change a value on Firebase on Recent App Button Pressed.

  • Does this answer your question? [How to get recent tasks on Android "L"?](https://stackoverflow.com/questions/24590533/how-to-get-recent-tasks-on-android-l) – Dinesh Neupane Jan 29 '20 at 16:16
  • No, I need some method or a listener which is called on pressing Recent App button. – Talha Zafar Jan 29 '20 at 16:20
  • 2
    There is no event specific to that operation. At most, there will be activity lifecycle events (e.g., `onPause()`, `onStop()`), as there are with other forms of navigation. – CommonsWare Jan 29 '20 at 18:07

0 Answers0