{ "id": "171522", "key": "TIMOB-25970", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-16T16:35:49.000+0000", "created": "2018-04-16T15:14:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2018-06-21T17:39:28.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Picker with type Titanium.UI.PICKER_TYPE_DATE does not fire {{postlayout}} after {{showDatePickerDialog()}} is called. \r\nIt is the same for Picker added in the layout for Android Lollipop (API level 19) or newer. For API level below 19, Picker added in the layout the event is fired twice.\r\n\r\n*Test case:*\r\n_app.js_\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow();\r\n picker = Ti.UI.createPicker({type: Ti.UI.PICKER_TYPE_DATE});\r\npicker.addEventListener('postlayout', function() {\r\n alert('Post layout!');\r\n});\r\nwin.add(picker);\r\nwin.open();\r\n//picker.showDatePickerDialog(); \r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: 'postlayout' event not working for Picker with type Titanium.UI.PICKER_TYPE_DATE", "creator": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "subtasks": [], "reporter": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "environment": null, "comment": { "comments": [ { "id": "436945", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10005", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2018-04-17T14:21:14.000+0000", "updated": "2018-04-17T14:21:14.000+0000" }, { "id": "436956", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed for master. Waiting for CR to pass.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-17T21:34:37.000+0000", "updated": "2018-04-17T21:34:37.000+0000" }, { "id": "437699", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-16T16:35:39.000+0000", "updated": "2018-05-16T16:35:39.000+0000" }, { "id": "438600", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.3.0.v20180618182516.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-21T17:39:19.000+0000", "updated": "2018-06-21T17:39:19.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }