标签:android style ext color get ble set rgb int view new
// 监听listview滚到最底部
mIndexList.setOnScrollListener(new OnScrollListener() {
@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {
switch (scrollState) {
// 当不滚动时
case OnScrollListener.SCROLL_STATE_IDLE:
// 判断滚动到底部
if (view.getLastVisiblePosition() == (view.getCount() - 1)) {
isLastisNext++;
}
break;
}
}
@Override
public void onScroll(AbsListView view, int firstVisibleItem,
int visibleItemCount, int totalItemCount) {
}
});
Android 监听ListView、GridView滑动到底部,布布扣,bubuko.com
Android 监听ListView、GridView滑动到底部
标签:android style ext color get ble set rgb int view new
原文地址:http://www.cnblogs.com/wuyou/p/3694585.html