ScrollToTop performance limit for TableView with large datasets in Titanium SDK 9.x
0 reputation · 31 May 2023, 18:15 UTC
The goal is to establish a reliable upper bound for the number of rows in a Ti.UI.TableView that can be passed to scrollToTop without causing a perceptible frame drop on typical mid‑range Android and iOS devices.
Constraints include the documented observation that SDK 9.x may drop frames beyond ~10,000 rows, but the actual limit depends on hardware capabilities and GPU load; additionally, the method’s optional callback is only guaranteed to fire once when no competing scroll gestures occur, and this guarantee is not formally documented for future releases.
What row count keeps the animation within a 16 ms frame budget on representative devices? Does the scrollToTop callback invoke exactly once when no simultaneous scroll gestures are present, and is this behavior stable across SDK 9.x releases? Is the no‑op behavior when the table’s content height is less than its visible height dependable in SDK versions prior to 8.0?