一.发现问题 如果发送数据过快的情况下,ListVies滚屏显示数据时会显示闪屏,如下所示现象: 二.解决问题 根据出现闪屏的情况,在网上查了资料要使用双缓存的办法来处理.其原理是数据在缓存区中进行处理,处理之后再把结果显示出来. 自己先新定义一个ListViewBuff类: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Ta
异常:java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. 解决办法分析: 既然与listView绑定