GithubHelp home page GithubHelp logo

Comments (6)

steipete avatar steipete commented on June 12, 2024

We happily accept pull requests, although I'm not sure this makes sense in the API directy. UITableView doesn't has this either.

You can build this quite easily, listen for the didScroll event and add content once you're at some defined threshold.

from gmgridview.

gmoledina avatar gmoledina commented on June 12, 2024

@steipete maybe we just need one API to reload the datasource metadata only ? As reloading the entire grid will force the destruction/creation of all the cells and the grid will scroll to top.
So with the API, only the contentSize of the scroll will change and the new cells will be lazy loaded as usual.

from gmgridview.

steipete avatar steipete commented on June 12, 2024

The grid no longer scrolls to top with reloadData. Apple's cocoa API doesn't do that either, this are usually two different operations you want to call.

from gmgridview.

gmoledina avatar gmoledina commented on June 12, 2024

True.

Checkout the new segmentedControl in demo1 (in develop branch for now); reloadData works fine.

from gmgridview.

gmoledina avatar gmoledina commented on June 12, 2024

Also, the component now inherits from UISrollView; so you can set yourself as it's scrollViewDelegate and catch all the scrolling events.
(Still in develop branch for now)

from gmgridview.

vyacheslavartemev avatar vyacheslavartemev commented on June 12, 2024

It's will be a very useful feature!

P.S. Nice control;)

from gmgridview.

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.