1.    java.util.ConcurrentModificationException 并行修改异常
搜索结果:
你不能在对一个List进行遍历的时候将其中的元素删除掉
解决办法是,你可以先将要删除的元素用另一个list装起来,等遍历结束再remove掉
可以这样写
List delList = new ArrayList();//用来装需要删除的元素
for(Information ia:list)
                          if(ia.getId()==k){
                                                         n++;
                                                         delList.add(ia);
}list.removeAll(delList);//遍历完成后执行删除
(重新检查问题时没再出现,暂无修改。)
 
刷新button添加在ActivityGroup所在的布局文件,并在继承ActivityGroup的类中声明button为静态属性,在子activity中,添加刷新按钮的监听方法,在子Activity的onRusume()中实现刷新方法;
private void refeshList(){
                            CommendActivity.refsh_btnButton.setOnClickListener(new OnClickListener() {
                                         
                                          @Override
                                          public void onClick(View arg0) {
                                                        // TODO Auto-generated method stub
                                                        list.clear();
                                                        p