GridView with Header and Footer

Additional

Language
Java
Version
1.0.12 (May 16, 2015)
Created
Oct 29, 2014
Updated
Aug 19, 2016 (Retired)
Owner
Huqiu Liao (liaohuqiu)
Contributors
Huqiu Liao (liaohuqiu)
eduardoestrella
2
Activity
Badge
Generate
Download
Source code

Advertising

Gradle

compile 'in.srain.cube:grid-view-with-header-footer:1.0.12'

Usage

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);

Thanks

HeaderGridView

License

Apache 2

contact or help

Please fell free to contact me if there is any problem when using the library.