简体   繁体   English

Titanium appcelerator图像视图加载事件监听器不能与android一起使用

[英]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. 我有一个图像视图,当图像加载我想要做一个动作,例如一个alert.I正在使用eventListener方法来实现这一点。 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? 这与iphone工作得很好,但没有用android解雇任何东西,怎么能在android内实现这个? thanks alot. 非常感谢。

不幸的是,Appcelerator尚未在Titanium Mobile中解决此问题,但是远程和本地映像可以使用以下解决方法来实现所需的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM