Android
wenjie147
这个作者很懒,什么都没留下…
展开
-
intent几种传值数组、对象、集合(Array,Object,List)
1.Array ? private ArrayList checkList=new ArrayList(); Intent intent=new Intent(mytext.this,show.class); intent.putStringArrayListExtra("list", checkList); start转载 2012-04-25 00:27:02 · 504 阅读 · 0 评论 -
listView.addFooterView时出现java.lang.ClassCastException:
java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams 出现以下错误,原来我添加的传给addFooterView的参数是个Linearlayout,改成View就行了原创 2012-10-17 02:03:15 · 1134 阅读 · 0 评论