自定义Looper/Handler模型 线程wait/notify版本 非poll版本
循环
public static class Looper {
final static ThreadLocal<Looper> threadLooper = new ThreadLocal<>();
public static void prepare() {
if (threadLooper.get() != null) {
throw new RuntimeException("
原创
2021-02-23 14:23:15 ·
122 阅读 ·
0 评论