摘要:
listView.setOnScrollListener(new AbsListView.OnScrollListener() { @Override public void onScrollStateChanged(AbsListView view, int scrollState) { } @Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int... 阅读全文
摘要:
本文模拟:点击一个按钮,为已有的listview添加一行数据 package com.example.listView_MultiPage;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.widget.ArrayAdapter;import android.widget.ListView;import java.util.LinkedList;public class MyActivity extends Activity { priva... 阅读全文