SimpleAdapter adapter = new SimpleAdapter(this, items, R.layout.scontent,
new String[] {"ls_content","ls_name","ls_time","ls_back"},
new int[] {R.id.ls_content,R.id.ls_name, R.id.ls_time,R.id.layout});
adapter.notifyDataSetChanged();
其中 R.id.layout 这种表现出来的是值text是"ls_back"
我想改成 R.id.layout.background但是报错,,请问怎么改啊
new String[] {"ls_content","ls_name","ls_time","ls_back"},
new int[] {R.id.ls_content,R.id.ls_name, R.id.ls_time,R.id.layout});
adapter.notifyDataSetChanged();
其中 R.id.layout 这种表现出来的是值text是"ls_back"
我想改成 R.id.layout.background但是报错,,请问怎么改啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货