Giter Club home page Giter Club logo

Comments (4)

maurycyw avatar maurycyw commented on August 20, 2024

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.

from staggeredgridview.

briangriffey avatar briangriffey commented on August 20, 2024

@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

from staggeredgridview.

vinc3m1 avatar vinc3m1 commented on August 20, 2024

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

from staggeredgridview.

briangriffey avatar briangriffey commented on August 20, 2024

Cool, then I'll close for now.

from staggeredgridview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.