[TIMOB-2757] addEventListener on TableView in iOS 4 callback param behavior
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2012-07-26T14:42:31.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | ios, ios4 |
| Reporter | Bobby Wilson |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:28:46.000+0000 |
| Updated | 2017-03-09T23:53:45.000+0000 |
Description
iOS version 4
master branch
This breaks (in iOS only, works with Android):
tableview.addEventListener('click', function(e){
Ti.API.info(e.rowData.id);
}
This doesn't break:
tableview.addEventListener('click', function(e){
if(e.rowData) {
Ti.API.info(e.rowData.id);
}
}
Requires *complete* & valid test case.
Ticket can be reopened when this is provided.Closing this ticket as the request for more information has not been provided.