[TIMOB-26809] Android: ListView itemId gets stringified, cannot use Object
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | engSchedule |
| Reporter | Hans Knöchel |
| Assignee | Abir Mukherjee |
| Created | 2019-02-08T10:41:08.000+0000 |
| Updated | 2021-02-12T02:33:05.000+0000 |
Description
When using the itemId property on Android, the value of it automatically gets stringified, resulting in weird behaviors like in our case, where an Object becomes a string, whereby on iOS it works fine.
The docs clearly state to use a String here, so actually we were wrong and the iOS platform should throw an error when a non-string value is used (or at least a warning that something was stringified). The same warning could appear on Android as well.