Circular dependencies cannot exist in RelativeLayout
这是因为在Relativelayout中,多个控件使用了定义了相同的ID。
Can't create handler inside thread that has not called Looper.prepare()
原因:在子线程创建了Handler。
解决方法:在UI线程创建Handler的实例,然后在子线程中sendMessage就没问题了。
Circular dependencies cannot exist in RelativeLayout
这是因为在Relativelayout中,多个控件使用了定义了相同的ID。
Can't create handler inside thread that has not called Looper.prepare()
原因:在子线程创建了Handler。
解决方法:在UI线程创建Handler的实例,然后在子线程中sendMessage就没问题了。