Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4008] Late or no loading of remote images on ImageView

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-07-21T15:04:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterAliya
AssigneeShak Hossain
Created2016-07-06T20:57:19.000+0000
Updated2016-07-21T15:04:15.000+0000

Description

I'm doing something really simple that used to work over a year ago on Titanium version 3.5.1. I'm creating new table view rows while looping through some data. The table view rows each have an image view, and i'm setting the 'image' to a remote image url. For some reason the images sometimes don't load. Sometimes, if i go back on to that screen, more of the images load. It is very unreliable. This used to work fine in the past. Code snippets: table view row - xml: code to set image - js: if (data.imageUrl != null) { // check if remote url is available newSearchRow.$.imgsmall.image = data.imageUrl; // set image } The result i'm seeing is that sometimes the remote image loads, but mostly the default image remains.

Comments

  1. Sharif AbuDarda 2016-07-15

    Hello, can you share a full sample code. Can you provide a sample code that regenerates the issue? We will test it in our environment and provide guidance. Thanks.

JSON Source