【开源】GridViewWithHeaderAndFooter

GridViewWithHeaderAndFooter

 

使用说明:

 

1
2
3
4
5
6
GridViewWithHeaderAndFooter gridView = (GridViewWithHeaderAndFooter) v.findViewById(R.id.ly_image_list_grid);
LayoutInflater layoutInflater = LayoutInflater.from(this);
View headerView = layoutInflater.inflate(R.layout.test_header_view, null);
View footerView = layoutInflater.inflate(R.layout.test_footer_view, null);
gridView.addHeaderView(headerView);
gridView.addFooterView(footerView);

posted on 2015-03-25 17:40  wasdchenhao  阅读(194)  评论(0)    收藏  举报

导航