Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1161] imageView 'load' event not fired on second view (ie: in cache)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsevents, imageview, ios, iphone, load
Reporterkosso
AssigneeReggie Seagraves
Created2011-04-15T02:45:31.000+0000
Updated2011-04-17T01:55:23.000+0000

Description

Hi,

Part of my app relies on knowing when an imageView has loaded from a remote url - in order to hide a loading message.

This works fine on the first time it's loaded, since I wait for the imageView 'load' event.

However, the next time my app needs to display the same image, the load event is not firing and therefore I don't know when to hide the indicator.

So, either the imageView needs to fire the 'load' event when the image is cached too, or we need a property to let us know that the image is coming from the cache.

thanks

Comments

  1. Jeff Haynie 2011-04-15

    (from [7df9cc8f63d66cbb90c374ac443f5dd6d80727f3]) [#1161 state:resolved] need to fire image load event each time the image loads [#1156 state:resolved] fixed problems reparenting images in tableview http://github.com/appcelerator/titanium_mobile/commit/7df9cc8f63d66cbb90c374ac443f5dd6d80727f3"> http://github.com/appcelerator/titanium_mobile/commit/7df9cc8f63d66...

JSON Source