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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With