Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24451

Android: ListView Template get varying sectionCount and sections array when it is inside a ScrollableView

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.4
    • Component/s: Android
    • Labels:
    • Environment:

      SDK 6.0.1GA, 6.0.2GA
      Android 4.4.x and 4.2.2

    • Story Points:
      3
    • Sprint:
      2017 Sprint 06 SDK

      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 output

      Problem

      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

        1. activity.js
          0.8 kB
        2. activity.xml
          0.3 kB
        3. activityActuals.js
          0.5 kB
        4. activityActuals.xml
          0.5 kB
        5. activityDetails.js
          0.5 kB
        6. activityDetails.xml
          0.5 kB
        7. activityManifest.js
          0.5 kB
        8. activityManifest.xml
          0.6 kB
        9. index.js
          0.1 kB
        10. index.xml
          0.0 kB
        11. TIMOB-24451.zip
          109 kB

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                sliang Shuo Liang
                Reviewer:
                Andy Waldman
                Tester:
                Samir Mohammed
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10523
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code