Permalink
Browse files

let's test ListView with 1024 rows

  • Loading branch information...
1 parent 8bc28eb commit a8c7a6262b792d00f565ff98ce241bce706b1ce1 @tonylukasavage tonylukasavage committed Apr 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/apps/ui/listview/controllers/templates.js
@@ -1,8 +1,8 @@
var moreItems = [];
var lastPos = 'left';
-for (var i = 0; i < 255; i++) {
+for (var i = 0; i < 1023; i++) {
// gradual increase to red
- var hex = i.toString(16);
+ var hex = (i%256).toString(16);
if (hex.length < 2) {
hex = '0' + hex;
}

2 comments on commit a8c7a62

@jhaynie
Contributor
jhaynie commented on a8c7a62 Apr 9, 2013

and? ;)

@tonylukasavage
Contributor

Silky smooth on iOS. Gonna do some android emulator/device testing tomorrow. Next I'll amp up the complexity of the rows.

Please sign in to comment.