I would like to know how to implement a thread in this class to make it safe from the problems of ANR (Application Not Responding)
public class myClass { p
Thread thread = new Thread() { @Override public void run() { myClass rootChecker = new myClass(); isRooted = rootChecker.isDeviceRooted(); } };