I tried this way: private Runnable changeColor = new Runnable() { private boolean killMe=false; public void run() { //some work if(!killMe) color_changer.postDelayed(changeColor, 150); } public void kill(){ killMe=true; } }; but I can't access kill() method!
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update