Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2203] Regression postlayout on Android ImageView not firing TIMOB-13104 needs to be reopened

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-06-19T17:45:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterBen Sudbury
AssigneeShak Hossain
Created2013-06-19T03:00:57.000+0000
Updated2016-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

Comments

  1. Daniel Sefton 2013-06-19

    Re-opened TIMOB-13104. Closing this issue.
  2. Daniel Sefton 2013-06-20

    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

JSON Source