[AC-2318] Android: TableViewRow setColor() method doesn't exist
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-01-29T19:16:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Rafael Kellermann Streit |
Assignee | Daniel Sefton |
Created | 2013-01-26T18:00:47.000+0000 |
Updated | 2016-03-08T07:41:20.000+0000 |
Description
*Problem description*
Method setColor() does not exist in TableViewRow for Android, but in documentation it says that works fine: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.TableViewRow-method-setColor
*Test case*
var win = Ti.UI.createWindow({
backgroundColor : "#FFF"
});
var row = Ti.UI.createTableViewRow({
title : "Foobar",
color : "red"
});
var tableView = Ti.UI.createTableView({
data : [row]
});
win.add(tableView);
row.setColor("blue"); // Errors on Android but not iOS
win.open();
Attachments
File | Date | Size |
---|---|---|
2013-01-26 15.59.30.png | 2013-01-26T18:00:47.000+0000 | 83615 |
Tested and confirmed on Android 4.2 Ti SDK 2.1.4 GA, 3.0 GA and 3.1.0.v20130128172329.