{ "id": "125502", "key": "AC-2171", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-01-29T06:05:38.000+0000", "created": "2014-01-28T12:51:16.000+0000", "labels": [ "android", "picker", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:09.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Whenever I scroll the picker, for the first time there seems to be a small lag in scrolling. That is, when user scrolls the picker, there is a lag for few seconds and then users are allowed to scroll records continuously. This lags happens only for the first time.\r\nFirst I thought it was a issue with by code, so I posted an issue here in [Q&A|https://developer.appcelerator.com/question/161965/titanium-picker-scrolling-lags-for-the-first-time] But later I tried with default options like below and still the same. Seems like {color:red}by default there is a time lag with titanium UI picker{color}\r\n \r\n{code:xml}\r\nvar picker = Ti.UI.createPicker({\r\n top:50\r\n});\r\n \r\nvar data = [];\r\nfor (var i = 0; i < 500; i++)\r\n{\r\n data[i]=Ti.UI.createPickerRow({title:'Bananas' + i});\r\n}\r\n\r\npicker.add(data);\r\npicker.selectionIndicator = true;\r\n\r\nwin = Ti.UI.createWindow ({backgroundColor : 'black'}); \r\nwin.add(picker);\r\nwin.open();\r\n{code}\r\n\r\nHope this can be easily reproduced by others.", "attachment": [], "flagged": false, "summary": "Titanium picker scrolling lags for the first time", "creator": { "name": "praveen", "key": "praveen", "displayName": "Praveen J", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "praveen", "key": "praveen", "displayName": "Praveen J", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "1. Application type: mobile\r\n2. Titanium SDK: 1.7.6 (03/20/12 18:32 1e5f126)\r\n3. Platform & version: Android 4.0\r\n4. Device: Nexus 7\r\n5. Host Operating System: Windows 8\r\n6. Titanium Studio: 3.2.0.201312191547", "comment": { "comments": [ { "id": "290175", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We have not been able to reproduce any time lag even after populating the picker with 500 entries. I have updated your sample so that it can run as it is. We tried it on Samsung Galaxy Nexus device.\n\nI noticed that you listed SDK version as 1.7.6. Is that correct? If yes, I would strongly recommend you to build your sample code with 3.2.0 SDK.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-29T06:05:25.000+0000", "updated": "2014-01-29T06:05:25.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }