Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer #9

Closed
BenMoment opened this issue Jan 8, 2013 · 4 comments
Closed

Footer #9

BenMoment opened this issue Jan 8, 2013 · 4 comments

Comments

@BenMoment
Copy link

Hi. Appreciate your work. Do you think there should be an easy way of adding a footer view to the grid? Been trying to think of one.

@maurycyw
Copy link
Owner

maurycyw commented Jan 9, 2013

Well I believe ListView keeps track of the header and footer views in two separate ArrayList's via a FixedViewInfo class. If any headers or footers exist it wraps the adapter in a HeaderViewListAdapter. From what I can tell recycling seems to be mostly what StaggeredGridView would need to worry about otherwise it should be fairly simple to implement ( I am going to probably regret saying this ).

If you manage to implement this then please send a pull request my way. This seems like a fun problem to solve so if you cant figure this one out I will take a look once I manage to find some free time.

@briangriffey
Copy link
Collaborator

@BenMoment Since the regular GridVIew does not support a header and footer, I don't believe the StaggeredGridView should support one either. Thoughts? @vinc3m1 @maurycyw

@vinc3m1
Copy link
Collaborator

vinc3m1 commented Nov 26, 2013

I agree for now. If there's a nice and clean implementation, I'm all for it, but until then...

@briangriffey
Copy link
Collaborator

Cool, then I'll close for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants