gridview
Mars-xq
好记性不如烂笔头。
展开
-
listview报错 IndexOutOfBoundsException、HeaderViewListAdapter.isEnabled
使用listview添加了footerview,放在onresume中请求列表数据,点击详情再返回列表, 重复此操作,报错如下:java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:437) at android.widget.HeaderVi...原创 2018-05-22 14:38:31 · 3071 阅读 · 0 评论 -
android : setEmptyView与万能适配器的使用
empty_list_layout.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation=&q原创 2018-06-08 11:29:12 · 476 阅读 · 0 评论