How to stop a thread in android?

Answer:  Use a volatile Boolean flag, based on which return from the run() method of the Thread.

No comments:

Post a Comment