标签:style http io color ar java sp strong on
============问题描述============
============解决方案1============
============解决方案2============
============解决方案3============
============解决方案4============
============解决方案5============
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));
}
============解决方案6============
Service到底要不要自己调用Looper.prepare()?
标签:style http io color ar java sp strong on
原文地址:http://www.cnblogs.com/lmyangbk/p/4089368.html