android 怎么获取子线程中传递的数据

2025-04-09 03:24:22
推荐回答(1个)
回答1:

先实例化一个Handler再重写handleMessage(Message msg)方法msg.getData().getXXX()获得Thread线程发送的数据