https://github.com/jeroenwalter/buff...sencha-touch-2
- Using the buffered list in a nestedlist now correctly passes the itemtap events.
- base DataView now uses the viewItemArray instead of own item selector.
https://github.com/jeroenwalter/buff...sencha-touch-2
- Using the buffered list in a nestedlist now correctly passes the itemtap events.
- base DataView now uses the viewItemArray instead of own item selector.
I think it would be best if we move the discussion of the buffered list to the Sencha Touch 2.x: Examples and Showcases forum.
I think before really fixing anything you should move to the newest ST. If you make your fixes against the beta, they're very likely to come "unfixed" when used against the final release.
Nevermind. I misread your "2.1.0-beta2" as "2.0.1-beta2". (I've also been away from ST for a bit so I wasn't up on the 2.1 beta.) You're still probably going to be fixing stuff that'll come unfixed, but there's not much else you can do about it if you want to try to get a jump on 2.1.
I know.
I'm still not sure if the fixes I made are the best or if they are simply workarounds.
I need to test it more, but right now it seems to work for me.
I still get some strange repaint issue sometimes when I change the store instance of a buffered list with setStore(), so I'll look into that.
For all following this thread in hopes of a 2.x port of BufferedList, please note that the latest release of 2.1 Beta (Beta 3) includes Sencha's own implementation of this concept, which should be both more functional and better supported
Thanks to all who contributed to this original version.
That's nice to know. Might have to hold out on releasing my project until 2.1 gets its GPL release.
Have you played around with it much? Can you comment on how good it is compared to yours and some of the other ports?
I hope it also supports DataView so I can create custom list components.
I am working on a commercial project which ABSOLUTELY hinges on infinite scrolling. I've tried implementing robertklep's buffered scrolling, but while it does display the list, the scrolling essentially doesn't work... at all. I'm about to try jeroenwalter's fork and see if I get lucky with that one... That being said, how safe is it to port the project to whatever the current release version of 2.1 is? Is there any ETA on a stable release of 2.1? Thanks in advance.
If scrolling still doesn't work with my fork, then I think you may have some other issues.
Maybe you've disabled scrolling for the list container or something like that.
Try the normal Ext.List first, if that doesn't scroll as well, the fault must be in your code.
If not, then something may be wrong in the buffered list.
I'm using the buffered list in a project where I'm currently displaying about 11000 items and it works as expected.
I'm using ST 2.1.0 beta 2 for this, I haven't tested it with beta 3 yet, so maybe that will break it.
I am going to test it within the next hour, but the scrolling does work for me with a normal list. However, I believe the reason why this might pose an issue is the fact that my "list" is actually a grid, or to be more specific, an image gallery. So there are 3-4 inline items depending on the screen resolution. Could this have a bearing?