layout warning when scrolling up
i'm getting the warnings below only when i scroll up. when the page loads i can scroll down to the bottom of the tableview just fine, but the second i start to scroll up (slow or fast) the warnings appear over and over.
[WARN] looks like we have a different table cell layout than expected.
Make sure you set the 'className' property of the table row when you have different cell layouts
[WARN] if you don't fix this, your tableview will suffer performance issues and also will not render properly
I can provide more code if needed. thx!
code below is how i create my table rows with classNames inside a loop.
var projRow = 'tableRow'+i;
var count = i;
projRow = Titanium.UI.createTableViewRow({
selectedBackgroundColor: '#1c1d1c',
top: 0,
width: 'auto',
height: 'auto',
className:count
});