Hello,
I'm retrieving a
I need to register an imageview in my library
and next I need to give an instance of an ImageView with a parameter
Any idea why i receive this method, while it should exists?
This makes me also wondering if i need ImageView or ImageViewWrapper if i need to interract with objects from Basic4Android
Tomas
I'm retrieving a
when calling a method from a library i'm making.java.lang.NoSuchMethodError: android.widget.ImageView.getX
at com.rootsoft.engine.ImageViewAccessor.getValues(ImageViewAccessor.java:25)
I need to register an imageview in my library
B4X:
/**
* Registers an ImageView
*/
public void registerImageViewAccessor() {
Tween.registerAccessor(ImageView.class, new ImageViewAccessor());
}
and next I need to give an instance of an ImageView with a parameter
B4X:
'Create the tween.
Tween.To(ivObject, Constants.POSITION_XY, 1)
B4X:
public void To(ImageViewWrapper target, int tweenType, float duration) {
tween = Tween.to(target.getObject(), tweenType, duration);
}
Any idea why i receive this method, while it should exists?
This makes me also wondering if i need ImageView or ImageViewWrapper if i need to interract with objects from Basic4Android
Tomas
Last edited: