项目中遇到的一些问题或异常以及处理方法

一、LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams 遇到该异常是在listview中适配器中的getView方法里,导入布局后,设置布局中的控件layoutParams时报此异常,因item的父控件是listview,因此使用LayoutParams须要找其对应的类型,须要将Li
相关文章
相关标签/搜索