Android Question Cancel a long / busy loop using back button

BarryW

Active Member
Licensed User
Longtime User
Hi masters. is there any way to cancel or exit a loop when a user pressed the back button. Hope someone can help. Thanks.
 
Without seeing any code or any kind of indication of what processing is being carried out it's a little difficult to help you on this.

Can the processing in question be left in a background process and the main activity left to interact with the user?
 
Upvote 0
Upvote 0
Top