摘要: 本文将从子线程不能更新UI的直接原因、根本原因、Android如何做到限制以及子线程该如何正确更新UI四个方向回答问题。 【直接原因】在子线程中更新UI会怎样? 程序会出现以下错误: Only the original thread that created a view hierarchy can 阅读全文
posted @ 2024-08-08 19:14 茄子鱼 阅读(174) 评论(1) 推荐(0)