java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
出现以下错误,原来我添加的传给addFooterView的参数是个Linearlayout,改成View就行了
java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
出现以下错误,原来我添加的传给addFooterView的参数是个Linearlayout,改成View就行了