[AC-3386] TableViewRow doesn't fire postlayout events (Android)
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2016-03-20T15:04:55.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android, postlayout, tableViewRow |
| Reporter | grebulon |
| Assignee | Shak Hossain |
| Created | 2016-03-17T11:41:15.000+0000 |
| Updated | 2016-04-19T13:53:51.000+0000 |
Description
_TableViewRow_ doesn't fire _postlayout_ events.
var table=Ti.UI.createTableView({top:0,bottom:0});
var row=Ti.UI.createTableViewRow({height:Ti.UI.SIZE});
row.addEventListener('postlayout', function() {
Ti.API.info("this will not happen");
});
table.appendRow(row);
Attachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2016-03-18 at 10.14.01 PM.png | 2016-03-18T16:15:33.000+0000 | 125722 |
Hello, I have tested the issue in Android. The postlayout event fired as expected. I have tested on Android device 4.4.2. See the screenshot. *Environment*
Operating System Name = Mac OS X Version = 10.11.3 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 4.2.2 npm Version = 2.14.7 Titanium CLI CLI Version = 5.0.6 Titanium SDK SDK Version = 5.2.0.GA SDK Path = /Users/gsl001/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA Target Platform = androidI'm having the same problem on Android 4.2 Ti.SDK 5.1.2.GA
On Android 5.0 and Ti.SDK 5.2.2.GA, the same problem the postlayout event isn't fired