[TIMOB-26257] Android: Removing and re-adding spinner resets last selection
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | android, engSchedule, picker, spinner |
| Reporter | Joshua Quick |
| Assignee | Unknown |
| Created | 2018-08-03T21:32:20.000+0000 |
| Updated | 2019-04-09T15:43:13.000+0000 |
Description
*Summary:*
An 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.
*Steps to reproduce:*
Create a project using the attached [^MultiPickerAddRemoveTest.js] code.
Build and run on Android.
Select the last row in all columns in the spinner.
Tap the "Remove" button.
Tap the "Add" button.
Observe the spinner's current selections.
*Result:* Spinner resets its selection to the 1st row in all columns when re-added to the window. *Expected Result:* Last selections in each column should be retained.Attachments
| File | Date | Size |
|---|---|---|
| MultiPickerAddRemoveTest.js | 2018-08-03T21:26:22.000+0000 | 960 |
No comments