public class FakeLocation public static void mainString args checkFakeLocation; public static void checkFakeLocation Handler handler = new Handler; handlerpostDel
public class FakeLocation { public static void main(String[] args) { checkFakeLocation(); }
public static void checkFakeLocation() {
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
DoneRunnable doneRunnable = new DoneRunnable();
doneRunnable.run();
}
}, 3000);
}
static class DoneRunnable implements Runnable {
@Override
public void run() {
System.out.println("noFakeLocation");
}
}
原文地址: http://www.cveoy.top/t/topic/iFcZ 著作权归作者所有。请勿转载和采集!