开发者

Titanium appcelerator image view load event listener not working with android

i have 开发者_如何转开发an image view, when the image loads i want to make an action, for example an alert.I'm using eventListener method to implement this. here's my code

imageView.addEventListener('load', function()
{
    alert(1);
});

this workd fine with iphone, but not firing anything with android, how can achieve this within android? thanks alot.


Unfortunately Appcelerator has not resolved this issue in Titanium Mobile quite yet, however the following workaround may be used for both remote and local images to achieve your desired result.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜