I have a sub-routine that runs when the Activity_Pause is called.
I added another activity to my code.
Now, whenever I switch activities, the sub-routine runs.
I don't want it to run when I switch activities. Only when the app pauses due to time out, etc.
How do I differentiate between these two pauses and avoid running the sub-routine when the other activity is called?
I added another activity to my code.
Now, whenever I switch activities, the sub-routine runs.
I don't want it to run when I switch activities. Only when the app pauses due to time out, etc.
How do I differentiate between these two pauses and avoid running the sub-routine when the other activity is called?