[ALOY-1029] Listview code errs on Android but works on iOS platform
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Alloy 1.3.1 |
Fix Version/s | n/a |
Components | XML |
Labels | android, community, listview |
Reporter | Quang Pham |
Assignee | Feon Sua Xin Miao |
Created | 2014-05-19T10:21:23.000+0000 |
Updated | 2015-06-08T17:39:23.000+0000 |
Description
I get this demo from http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.ListView
Just change the image url
It looks good on iOS
But show label text on Android
And show this error
[ERROR] : TiTemplate: (main) [68,68] Please use 'properties' binding for builtInTemplate
Attachments
File | Date | Size |
---|---|---|
2014_05_19_17.14.35.png | 2014-05-19T10:21:23.000+0000 | 71558 |
Screen Shot 2014-05-19 at 5.08.43 PM.png | 2014-05-19T10:21:23.000+0000 | 102793 |
ti-test.zip | 2014-05-19T10:21:23.000+0000 | 6479066 |
I ran the sample provided in the documentation and it worked fine. I changed the image url. Here is the code I tested.
Your code works. When i change it to use Alloy. It does not work anymore
http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.ListView-property-templates templates property is creation only. My test case is wrong. But why iOS is still working?
Moving this ticket to engineering as I can reproduce this issue on Android platform with the provided test case. Works fine on iOS platform. Titanium code works on both iOS and Android platforms.