Skip to content

Image is broken in Empty cases #3058

@NathanaelA

Description

@NathanaelA

Please, provide the details below:

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:

nativescript │ 2.3.0
tns-core-modules │ 2.5.0-2016-11-07-4695
tns-android │ 2.5.0-next-2016-11-07-1363

Please tell us how to recreate the issue in as much detail as possible.

  1. Drop a Image view in a listview
  2. setup the observable data so you have valid images and empty image srcs
  3. Scroll in the list view so that the cells get recyled, and you should see the old image show.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions