参考链接: http://www.manew.com/thread-100366-1-1.html https://www.jianshu.com/p/3082ebf8a342 https://blog.csdn.net/serenahaven/article/details/80972601 1.RaycastTarget的检测 using UnityEngine; using UnityEngine.UI; public class DrawRaycastTarget : MonoBehav…
AsyncTask还有别的缺陷,在生成listview的时候,如果adapter里面的count动态改变的话,不能使用AsyncTask,只能使用Thread+Handler,否则会出现如下错误 java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adap…