this is calling run method of thread.
What you can do is make a global flag which will be true when you click on start button and will be false when you click on stop button.
and in run
put...
Type: Posts; User: DanBrown
this is calling run method of thread.
What you can do is make a global flag which will be true when you click on start button and will be false when you click on stop button.
and in run
put...
the code written above says that change the time elapsed only when someone click on the button.
the above line will be execute only once after clicking on the button b4.
Your thread is not...