You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you verify this is a real problem by searching
Yes
Tell us about the problem
The code that was recently updated in 2.4 breaks the Image in cases where it is in a listview/radlistview and the data that would go into the image is a null/empty src. In this case the OLD image from the recycled listview cell continues to show instead of the cell image being blanked out.
Which platform(s) does your issue occur on?
Android (might occur on iOS, untested)
Please provide the following version numbers that your issue occurs with:
Activity
valentinstoychev commentedon Nov 10, 2016
Is this a regression @dtopuzov ? Cc @hhristov.
NickIliev commentedon Nov 10, 2016
Can confirm that the behaviour is observed when I reproduce the scenario described by @NathanaelA
Code to reproduce here
Or use the one below:
main-view-model.ts
main-page.xml
main-page.ts
Expected: the list view to have 4 items with images.. then scroll a bunch with null images and then finish with 2 images.
Actual result: when scrolling the images are not recycled and the old ones are showing in cells where the images has null as a value for src
[-]v2.4.0 Image is broken in Empty cases[/-][+]Image is broken in Empty cases[/+]PanayotCankov commentedon Apr 27, 2017
These two PRs will fix the issue:
NativeScript/tns-core-modules-widgets#96
#4073
lock commentedon Aug 28, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.