64.判断当前线程是否是主线程
/**
* 打印当前的线程
*/
private void printCurrentThread() {
LogUtil.e("isMainThread="+ (Looper.getMainLooper() == Looper.myLooper()));
}
/**
* 打印当前的线程
*/
private void printCurrentThread() {
LogUtil.e("isMainThread="+ (Looper.getMainLooper() == Looper.myLooper()));
}