listview下拉刷新
@Override
public void onRefresh() {
isRefreshing =true;
mProgressBar.setVisibility(View.VISIBLE);
page = 1;
tags.clear();
// executeRefresh();
requestTags();
swipeLayout.setRefreshing(false);
}
刷新时,tags里的数据需要清空了,所以刷新时点击listview的元素会数组越界,FC,有什么办法解决
?