![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android常见问题
linjie678
android博客会持续更新的,欢迎关注啦
展开
-
notifyDataSetChanged刷新不起作用的问题解决
notifyDataSetChanged是Adater的一个方法,主要用来通知ListView,告诉它Adapter的数据发生了变化,ListView需要更新它的界面显示public class DataSetObservable extends Observable<DataSetObserver> { public void notifyChanged() { ...原创 2019-01-24 12:45:42 · 6437 阅读 · 3 评论 -
adapter has changed but ListView did not receive a notification
完整的异常信息如下: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 thre...原创 2019-01-26 01:19:26 · 3310 阅读 · 0 评论 -
Error:Must have one-pixel frame that is either transparent or white.
xx.9.png图片的报错,具体的报错信息如下:ERROR: 9-patch image C:…\res\drawable\appwidget.9.png malformed.Frame pixels must be either solid or transparent (not intermediate alphas).Found at pixel #3 along top edge. ...原创 2019-02-20 09:46:11 · 714 阅读 · 0 评论