{ "id": "172001", "key": "TIMOB-26257", "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": [], "resolution": null, "resolutiondate": null, "created": "2018-08-03T21:32:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "engSchedule", "picker", "spinner" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-04-09T15:43:13.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nAn Android {{Ti.UI.Picker}} whose property \"useSpinner\" is set to {{true}} will reset its last selection back to the 1st row for all columns when it's removed and re-added to the window.\r\n\r\n*Steps to reproduce:*\r\n# Create a project using the attached [^MultiPickerAddRemoveTest.js] code.\r\n# Build and run on Android.\r\n# Select the last row in all columns in the spinner.\r\n# Tap the \"Remove\" button.\r\n# Tap the \"Add\" button.\r\n# Observe the spinner's current selections.\r\n\r\n*Result:*\r\nSpinner resets its selection to the 1st row in all columns when re-added to the window.\r\n\r\n*Expected Result:*\r\nLast selections in each column should be retained.\r\n", "attachment": [ { "id": "65413", "filename": "MultiPickerAddRemoveTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-03T21:26:22.000+0000", "size": 960, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Removing and re-adding spinner resets last selection", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }