Details

      Description

      Problem
      postlayout event not firing on android but works as expected on iOS. Possible Parity.

      Steps to Reproduce
      1. Download image attached (chatbubble.jpeg)
      2. Paste this code in app.js

      	var Window = Ti.UI.createWindow({
      		backgroundColor: 'white'
      	});
      	
      	var imageView = Ti.UI.createImageView({
      		image : 'chatbubble.jpeg'
      	})
       
      	imageView.addEventListener("postlayout", function() {
      		alert("test");
      	});
      	
      	Window.add(imageView);
      	Window.open();
      
      

      3. Run on device (android)
      4. Run on iOS simulator

      Android

      Expectation
      you get alert message with text "test" on android

      Actual
      No alert message

      iOS

      Correct Behavior
      2 times alert message

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sunila Sunila
                Reporter:
                clathrop Carter Lathrop
                Reviewer:
                Allen Yeung
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-15926
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration