[AC-2203] Regression postlayout on Android ImageView not firing TIMOB-13104 needs to be reopened
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2013-06-19T17:45:09.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Ben Sudbury |
| Assignee | Shak Hossain |
| Created | 2013-06-19T03:00:57.000+0000 |
| Updated | 2016-03-08T07:41:11.000+0000 |
Description
The following code
var Window = Ti.UI.createWindow({
backgroundColor: 'white'
});
var imageView = Ti.UI.createImageView({
image:"/iphone/appicon.png"
})
imageView.addEventListener("postlayout", function() {
alert("test");
});
Window.add(imageView);
Window.open();
Does not generate an alert as expected.
This is working as expected with IOS and the base View class
Re-opened TIMOB-13104. Closing this issue.
TIMOB-13104 is fixed for 3.2. You'll need to use the 3.2 branch: http://builds.appcelerator.com.s3.amazonaws.com/index.html#master