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

Android: Number-based "itemId" is transformed into string in ListView

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Release 9.3.0, Release 10.0.0
    • Fix Version/s: Release 10.0.0
    • Component/s: Android, iOS
    • Labels:
    • Story Points:
      2
    • Sprint:
      2021 Sprint 3, 2021 Sprint 4

      Description

      This is not a bug, because the property is documented to be a string, but it works on iOS and is super hard to debug, when you use the ID to search in a data set and suddenly cannot find any matches with a string compared to an int.

      Could be improved, but is easy to workaround using parseInt(event.itemId).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                hknoechel Hans Knöchel
                Reviewer:
                Joshua Quick
                Tester:
                Samir Mohammed
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration