adapter = new SimpleAdapter(this, lists, R.layout.list_item, from, to);
这里是this是Handler,因为你这个方法是在放在Handler里的,所以尼这里不应该使用this,而应该使用ApiDemos.this(ApiDemos是你的类名)
这里是this是Handler,因为你这个方法是在放在Handler里的,所以尼这里不应该使用this,而应该使用ApiDemos.this(ApiDemos是你的类名)
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货