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-25526] Android: Listview when showing image with defaultImage causing inconsistency on image #9615
Conversation
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
Generated by 🚫 dangerJS |
@garymathews, @jquick-axway I was not able to come up with reliable unit tests. Any suggestions? |
FR Passed. The Studio Ver: 5.0.0.201712081732 |
I don't think we can do a unit test for this on the JavaScript side. Our ListView does not provide APIs that give direct access to its views on purpose (so that they can be recycled for performance reasons). This should be tested manually by taking a screenshot of the results and then measure the image's pixel dimensions via Apple "Preview" or MS Paint. |
@sgtcoolguy , I think we can merge this as according to @ypbnv & @jquick-axway there can't be unit tests for this. |
ok, well it's complaining about formatting of one file, and a unit test failed. At least the formatting should be fixed as per the instructions in the comment from danger. |
JIRA: https://jira.appcelerator.org/browse/TIMOB-25526
Description:
Add
image
property to the list to be set when a view is recycled.Fix a typo in a comment.
Test case:
In the JIRA ticket.