i started a thread when activity created in android
when click stop it will interrupt the thread to see my data on particular time after that i start the thread by clicking button start it will start the thread again
sometime it work properly, sometime i get Interrupted error,
strt.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Drawer.start();
});
stp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Drawer.interrupt(); });
what to do?