Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3386] TableViewRow doesn't fire postlayout events (Android)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-03-20T15:04:55.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, postlayout, tableViewRow
Reportergrebulon
AssigneeShak Hossain
Created2016-03-17T11:41:15.000+0000
Updated2016-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

FileDateSize
Screen Shot 2016-03-18 at 10.14.01 PM.png2016-03-18T16:15:33.000+0000125722

Comments

  1. Sharif AbuDarda 2016-03-18

    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             = android
       
  2. Anna 2016-04-19

    I'm having the same problem on Android 4.2 Ti.SDK 5.1.2.GA
  3. Anna 2016-04-19

    On Android 5.0 and Ti.SDK 5.2.2.GA, the same problem the postlayout event isn't fired

JSON Source