New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-26104] Android: Picker inside Tableview resets value #10211
Conversation
Generated by 🚫 dangerJS |
Add a clarifying comment.
Question:
To support this, our proxy's getter would have to return the proxy's |
@hansemannn @ypbnv iOS failed Is there an issue here? |
@garymathews |
@hansemannn I will see if the test can use something different. I tried at first with events from the window, but got some mismatched timings. |
@hansemannn I am not particularly proud with the workaround for the unit test, but if I got it right now it should be fine on iOS too. @jquick-axway Let's separate the multiple column persistence in another ticket then. I think it can be put together with the persistence across different data sets for both single and multiple column pickers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: Pass
I just tested add/removing the following picker types:
I think the above are minor and low priority. I've written up the following tickets: Edit: |
FR Passed. Works fine. Some test are failing in jenkins. Not able to merge PR .Can somebody please look at it. SDK =7.5.0.v20180901082336 local build |
JIRA: https://jira.appcelerator.org/browse/TIMOB-26104
Description:
Persist the selection in a Picker in case it has to be refreshed\added again after being removed.
Note: This may not be the best experience if during the absence of the Picker from the screen it's adapter has been changed. Do you think it will be fine to reset the persisted index in that case?
Test case:
Removing and adding the picker again
app.js
Using a Picker in a TableView
app.js
Unit test added.