{ "id": "128490", "key": "AC-1072", "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-04-23T04:53:24.000+0000", "created": "2014-03-30T21:35:24.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:25.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": "***NOTE: updated as this is also the case when using multiple columns ... not just single columns as originally reported. ***\r\n\r\nNote: I will not be providing code to replicate this because it is very easy and occurs on the device - not the emulator - and there is a workaround:\r\n\r\n1. Create a picker (useSpinner:true)\r\n2. create a column\r\n3. create a data array\r\n4. iterate through array and call ti.ui.createPickerRow method.\r\n5. add resultant object to column and add column to picker.\r\n\r\nSymptom: none for Android emulator - works fine. On device: the single column throws off index of values by 1. It creates an extra value. When a row is selected from the getSelectedRow it will always return the row above it and you cannot select the top-most row (also there appears to be a blank row a the bottom). This does not impact the picker in non-spinner mode. Work-around: add data directly to picker and DO NOT use a column. Note: This is also different from iOS in which it will work fine. It seems to be an Android only device level issue that does not impact the emulator.", "attachment": [], "flagged": false, "summary": "Android Picker with column throws off index on device", "creator": { "name": "jaymefishman", "key": "jaymefishman", "displayName": "Jayme Fishman", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jaymefishman", "key": "jaymefishman", "displayName": "Jayme Fishman", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX Studio 3.2.2 Android 4.2.1", "comment": { "comments": [ { "id": "299992", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need a simple runnable test case to reproduce this issue. I understand that you do not wish to provide a test case but we would have to close this ticket in absence of a test case.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-06T06:05:59.000+0000", "updated": "2014-04-06T06:05:59.000+0000" }, { "id": "302131", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as we cannot reproduce this issue and reporter has not provided a test case.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T04:53:24.000+0000", "updated": "2014-04-23T04:53:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }