[AC-488] Can't create a cardview
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2015-11-05T08:17:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Oscar Arnaiz |
Assignee | Mostafizur Rahman |
Created | 2015-11-04T12:37:01.000+0000 |
Updated | 2015-11-05T08:17:28.000+0000 |
Description
I'm trying to create a cardView following the demo app example
<Alloy>
<Window id="secondwin" class="container" onOpen="doopen">
<ActionBar displayHomeAsUp="true" onHomeIconItemSelected="closewin" platform="android"/>
<CardView platform="android">
<Label>A long label with\na few line breaks\nand unicode (UTF8)\nsymbols such as\na white chess piece \u2655\nand the euro symbol \u20ac\nlooks like this!</Label>
</CardView>
</Window>
</Alloy>
but getting this error:
[ERROR] : TiExceptionHandler: (main) [401335,401335] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,401335] - In undefined:66,34
[ERROR] : TiExceptionHandler: (main) [0,401335] - Message: Uncaught TypeError: Object #<UI> has no method 'createCardView'
[ERROR] : TiExceptionHandler: (main) [0,401335] - Source: $.__views.__alloyId8 = Ti.UI.createCardView({
[ERROR] : V8Exception: Exception occurred at undefined:66: Uncaught TypeError: Object #<UI> has no method 'createCardView'
Hello [~olarnaiz] UI object has no create cardview method. Please refer to this [link](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI) for details. Thanks.