[TIMOB-24451] Android: ListView Template get varying sectionCount and sections array when it is inside a ScrollableView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-04-10T18:17:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.4 |
Components | Android |
Labels | primary |
Reporter | Shuo Liang |
Assignee | Gary Mathews |
Created | 2017-03-03T02:11:22.000+0000 |
Updated | 2017-04-10T19:01:38.000+0000 |
Description
Reproduce
1. Create a default alloy project 2. Simply add following file into view and controller folder 3. Run the app 4. Switch the cross the views by click the buttons 5. Notice the console outputProblem
Did not add/remove/modify the list view. Inspire of that, the section count and sections are varying. (keep change between 0 and 1) As a result of this, I am not able to add any items, whenever the sectionCount becomes 0 and the section array becomes empty while scrolling.Attachments
File | Date | Size |
---|---|---|
activity.js | 2017-03-03T02:05:20.000+0000 | 869 |
activity.xml | 2017-03-03T02:06:15.000+0000 | 289 |
activityActuals.js | 2017-03-03T02:05:20.000+0000 | 492 |
activityActuals.xml | 2017-03-03T02:06:15.000+0000 | 556 |
activityDetails.js | 2017-03-03T02:05:20.000+0000 | 492 |
activityDetails.xml | 2017-03-03T02:06:15.000+0000 | 557 |
activityManifest.js | 2017-03-03T02:05:20.000+0000 | 489 |
activityManifest.xml | 2017-03-03T02:06:15.000+0000 | 598 |
index.js | 2017-03-03T02:05:20.000+0000 | 52 |
index.xml | 2017-03-03T02:06:15.000+0000 | 9 |
TIMOB-24451.zip | 2017-03-06T13:27:03.000+0000 | 111968 |
master: https://github.com/appcelerator/titanium_mobile/pull/8862
6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8914
Reopening - Is Resolved on Jira but not merged on Github.
Verified the fix with the 6.0.4 PR, waiting for Build to close the issue.
Verified 6.0.4.v20170330112925 has the fix. Closing.
master: https://github.com/appcelerator/titanium_mobile/pull/8939 6_1_X: https://github.com/appcelerator/titanium_mobile/pull/8940 6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8941
Merged latest PR for all the 3 branches. Will verify & close once build is available.
Verified the fix in 6.0.4.v20170410103627, 6.1.0.v20170410104407 & 6.2.0.v20170410094811 respectively. Closing.