实现gridview滚动到底部自动翻页:PagingGridView

jopen 10年前

PagingGridView实现gridview滚动到底部自动翻页。用法:

gridView.setHasMoreItems(true);  gridView.setPagingableListener(new PagingGridView.Pagingable() {      @Override      public void onLoadMoreItems() {          if(pager < 3) {              new CountryAsyncTask(false).execute();          }else {              gridView.onFinishLoading(false, null);          }      }  });


device-2014-05-20-104255.jpg

项目主页:http://www.open-open.com/lib/view/home/1404283015624