[TIMOB-15278] iOS: ListView with custom Template in navigationWindow - listItems not rendered after push/pop
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-09-19T22:05:49.000+0000 |
Affected Version/s | Release 3.1.0, Release 3.1.1, Release 3.1.2, Release 3.1.3 |
Fix Version/s | 2013 Sprint 19, 2013 Sprint 19 API, Release 3.1.4, Release 3.2.0 |
Components | iOS |
Labels | 3.1.3, 3.2.0, ios, ios7, listitem, listsection, listview, navigationWindow |
Reporter | Vincent |
Assignee | Vishal Duggal |
Created | 2013-09-17T16:01:15.000+0000 |
Updated | 2013-10-18T21:58:55.000+0000 |
Description
After setting a ListView with custom template in a navigation window, the listItems are correctly displayed first time. Go back to first window and try to display again the ListView : listItems are not displayed/rendered.
With a builtin Template there is no problem, listItems are displayed at all times.
See below for test cases.
TEST CASE with a custom template: click on 'dataset' to display the listView in the second window. Go Back click again on dataset RESULT: no more listItems displayed.
TEST CASE with a builtin Template: click on 'dataset' to display the listView in the second window. Go Back click again on dataset RESULT: listItems are displayed.
Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/4715
For now use this workaround on older titanium releases.
tested with 3.2.0.v20130919154842 and there is another problem if you use listView.appendSection() right now: TEST CASE: run the following code on 3.2.0.v20130919154842, click on 'dataset': the first time, dataItems are not displayed, second time all is OK. the only change is line 52
Backport to 3_1_X https://github.com/appcelerator/titanium_mobile/pull/4722