美文网首页
2018-07-06

2018-07-06

作者: 错觉丶 | 来源:发表于2018-07-06 22:24 被阅读0次
<code>
    private static void prepare(boolean quitAllowed) {
    if (sThreadLocal.get() != null) {
        throw new RuntimeException("Only one Looper may be created per thread");
    }
    sThreadLocal.set(new Looper(quitAllowed));
}
</code>

相关文章

网友评论

      本文标题:2018-07-06

      本文链接:https://www.haomeiwen.com/subject/enqiuftx.html