Show scroll progress bar

Why are you using variable?

and btw it doesn't works perfectly now also it doesn't set width to 100% when fully scrolled.

You do not say what it was that fixed your issue ?

This resolves that

image

2 Likes

Thank you so much it means a lot.

Wait this is a trick and doesn't works all the time.
@TIMAI2 Isn't it possible for you to fix colintree extension? Please do it if you can I really need this bug fixed.

In what circumstances does it not work ?

You also did not reveal what your original issue was?

I cannot make a new version of the ColinTree extensio, the source code is not available (plus I probably would not know what to fix anyway :wink: )

1 Like

Scroll with more than one finger in colintree extension and that set your app will crash this is my issue I have even attached crash logs.

Also this extension doesn't have this block:
image

@TIMAI2 Can you share your aia because this doesn't seems to work for me.

Just use YScroll = 0

scrollProgressVK.aia (24.2 KB)

If using an emulator, you may have to click/drag to simulate finger drag, to get the desired effect (mouse hover scrolling may work but not always)

@TIMAI2 Set height to 100% or fill parent you will see the issues.

Yep, you can probably figure out a workaround for this. :slight_smile:

Isn't is possible for you to fix colintree extension? Or make a new one?

Why do you not try?

I don't know java properly. :cry:

Well there is a learning opportunity for you :smiley:

1 Like

There was a bug in VMaxScroll method. I am thankful to @Hmmm and @TIMAI2 for pointing that.
With v1.4 this works:

Aix:
com.sunny.ScrollHandler.aix (21.3 KB)

3 Likes

Thank you so much I even flagged your discussion in kodular community so that I could inform you there but that discussion was locked because you selected solution.

1 Like

Is it necessary to use this block?
image
Without this also I get perfect result.