How to determine when an Android action and action begins and ends

Possible duplicate:
Android Activity Lifecycle - Difference between onPause () and OnStop ()

my question is whether it is possible to detect when an Android action / action starts / ends.

The idea would be to execute the callback o callback method during these events, but I cannot find anyone: _ (

Thanks in advance for your help !!!

+6
source share
1 answer

Checkout android activity life cycle. You have hooks for performing custom tasks during various life cycle events.

+1
source

Source: https://habr.com/ru/post/890125/


All Articles