[TIMOB-2668] Android: Tableview Click Event Missing Properties
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M02 |
Components | Android |
Labels | android, defect, regression, release-1.5.2, release-1.6.0, reported-1.5.1, rplist |
Reporter | Don Thorp |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:26:28.000+0000 |
Updated | 2011-04-17T01:59:46.000+0000 |
Description
Commit https://github.com/appcelerator/titanium_mobile/blob/3ffe548cf7e1e12bf55f82aecf3860ab66e9c8c3/android/modules/ui/src/ti/modules/titanium/ui/widget/tableview/TiTableView.java"> 3ffe548c removed several event properties that are expected and documented. The previous commit https://github.com/appcelerator/titanium_mobile/blob/e18980e31ba5c0e061da3ababd711467471bffeb/android/modules/ui/src/ti/modules/titanium/ui/widget/tableview/TiTableView.java"> e18980e is sending the correct properties.
See http://developer.appcelerator.com/helpdesk/view/62621">Helpdesk 62621
This needs to go on the 1_5_X branch as well.
(from [dcd6a5a8e0a2890c734e66f05a297d4df18bd3fd]) expose TableViewSection.rows [#2668 state:fixed-in-qa milestone:"Release 1.6.0 M02"]
https://github.com/appcelerator/titanium_mobile/commit/dcd6a5a8e0a2890c734e66f05a297d4df18bd3fd"> https://github.com/appcelerator/titanium_mobile/commit/dcd6a5a8e0a2...
(from [fdf3bce165a8abf619990b8082e60b8f7b748747]) expose TableViewSection.rows [#2668 state:fixed-in-qa milestone:"Release 1.6.0 M02"]
https://github.com/appcelerator/titanium_mobile/commit/fdf3bce165a8abf619990b8082e60b8f7b748747"> https://github.com/appcelerator/titanium_mobile/commit/fdf3bce165a8...
sent email for test advice
[INFO] Titanium SDK version: 1.6.0 (01/10/11 08:25 3452f06) and [INFO] Titanium SDK version: 1.5.2 (01/10/11 08:22 682e79e) 2.2 sim, 1.6 device
Still having the issue - I've download and installed - "Windows (Android only) filename: mobilesdk-1.5.2-20110111124736-win32.zip sha1: 179ba1e084b3d4160d6f361ec11c7f1f93f22a34"
Here is the sample code again:
Titanium.UI.setBackgroundColor('#000');
var win = Ti.UI.createWindow({
// backgroundImage:'common/images/1_SplashScreen_C.jpg' });
win.open();
var data = [];
for (var i=0;i<4;i++)
{
}
// create table view var tableview = Titanium.UI.createTableView({
});
// create table view event listener tableview.addEventListener('click', function(e)
{
});
win.add(tableview);
request from two pro seats is to include this fix on the 1.5.x branch - looks like we have code to repro in the 1.5.x branch
okay, checked [INFO] Titanium SDK version: 1.5.2 (01/12/11 10:03 3e8ed10) with g1 (1.6) and droid 1 (2.2.1) same behavior as in 1.6.0