1.3.2 bug - tableview crashed on RowAnimationStyle
I posted this during the weekend, app crashed on 2nd click if the recordset is larger than 12, turned out to be a real bug.
I never had any issues with that in past, just the 1.3.2 upgraded that kept crashing if rows number is larger than 12, once the data is loaded, scroll down, click on the row, return then click on any row again, it would crash even with no data on the child "detail".
It's weird though, i have row formed from database(as cached data), setData with RowAnimationStyle, no crash but as soon as data are queried from remote url and it crashed on RowAnimationStyle.
Anyway, i removed RowAnimationStyle on both cached and remote setData and all are well!
tableview.setData(data, {animationStyle:Titanium.UI.iPhone.RowAnimationStyle.DOWN});
http://developer.appcelerator.com/question/42141/132-bug-tableview-detail-crash-on-2nd-click
2 Answers
-
Are you setting a unique className for each row in the table?
On iOS it has to be unique for the lifetime of the table - so any new data also has to have a totally unique className. -
Yes, className was there since last versions.
added : btw, i think className has to do with crash on scrolling rows but not when you click the row?
Thanks