realy ?
I think I’m lost, sorry man @vknow360
vknow360, do you know why there’s a little delay for Scroll To and Scroll By? I mean it takes some time from firing scroll event to real effect. As your extension is open source is it possible to change the time here?
@SimpleFunction(description="Scrolls to given position by pixels.pX and pY are pixel value of scroll position.If hScrollView value is true then method will be executed for hsa.")
public void ScrollBy(final int pX,final int pY,boolean hScrollView){
if (hScrollView && hscrollView != null){
hscrollView.postDelayed(new Runnable() {
@Override
public void run() {
hscrollView.scrollBy(p2d(pX),p2d(pY));
}
}, 300);
}else if(!hScrollView && scrollView != null){
scrollView.postDelayed(new Runnable() {
@Override
public void run() {
scrollView.scrollBy(p2d(pX),p2d(pY));
}
}, 300);
}
}
As i can see there’s 0,3 sec delay.
Touch Down And Touch Up Event Is Not Working
You haven’t enabled those events because you didn’t enabled scrolling with ToggleScrolling method.
It also not working
This is my aia file can you please change it or give me some images
TT.aia (47.8 KB)
Do you think Vertical Scroll Arrangement is a kind of Horizontal Scroll Arrangement?
so can you please explain how i can use this block and make Touch Down And Touch Up Event workable
Sure.
hey i am using these blocks, earlier before the latest version of kodular launched it was working fine but now its not working.
Here are my blocks -
You answered the question yourself.
means in latest kodular version your extension won’t work ?
Try it in AI2 and let me know what is the error.
But i am using Kodular and i think there is no option to import project there from kodular
Yeah, but you can create same logic there too.
But creating app with 2000 blocks is difficult just to use one extension. No worries I will wait, when you update your extension to use in kodular.
Maybe you can provide a test apk and an example video.
But i remove your extension and updated on play store and will wait for your update now buddy thanks for your concern