/**
* 打印当前的线程
*/
private void printCurrentThread() {
LogUtil.e("isMainThread="+ (Looper.getMainLooper() == Looper.myLooper()));
}
转载于:https://www.cnblogs.com/yutianran/p/5069636.html
/**
* 打印当前的线程
*/
private void printCurrentThread() {
LogUtil.e("isMainThread="+ (Looper.getMainLooper() == Looper.myLooper()));
}
转载于:https://www.cnblogs.com/yutianran/p/5069636.html