Gra*_*ace 5 android event-listener imageview appcelerator-mobile titanium-mobile
我有一个图像视图,当图像加载我想做一个动作,例如一个alert.I正在使用eventListener方法来实现这一点.这是我的代码
imageView.addEventListener('load', function()
{
alert(1);
});
Run Code Online (Sandbox Code Playgroud)
这与iphone工作得很好,但没有用android解雇任何东西,怎么能在android内实现这个?非常感谢.