Hello,
Does it need a long explanation ? You can scroll in the two directions.
This lib does not work with Android versions < 2.
v1.01:
I fixed a big bug in the original code.
I added the function SmoothScrollTo.
v1.02:
I restarted from a fresh basis because of the many bugs in the original code. I fixed most of them (now, multitouch events and hardware keys are correctly handled) but a few are left and need more work (sometimes the wrong object get the focus and resizing is not perfectly handled). I noticed by the way that the stock scrollview is bugged and does not set the focus correctly if you move your finger very slowly.
Thanks to Erel, I solved the problem with the B4A documentation.
I added a new function: FullScroll.
v1.03:
I fixed all known bugs (including bugs found in ScrollView & HorizontalScrollView);
I added the scrollbars;
I added three new functions:
- ScrollbarsVisibility
- FadingEdges
- GiveFocusToFirstVisible.
v1.1:
I fixed a problem with events that were not fired if declared in a class;
I added two functions: ScrollingIsFinished and DisableTouchEventInterception.
v1.2:
SV2D appears now as a custom view in the designer with all its properties.
v1.3:
I fixed a bug (SV_2 = SV_1 did not work because the inner panel was declared in the wrong class).
Enjoy,
Fred
Does it need a long explanation ? You can scroll in the two directions.
This lib does not work with Android versions < 2.
v1.01:
I fixed a big bug in the original code.
I added the function SmoothScrollTo.
v1.02:
I restarted from a fresh basis because of the many bugs in the original code. I fixed most of them (now, multitouch events and hardware keys are correctly handled) but a few are left and need more work (sometimes the wrong object get the focus and resizing is not perfectly handled). I noticed by the way that the stock scrollview is bugged and does not set the focus correctly if you move your finger very slowly.
Thanks to Erel, I solved the problem with the B4A documentation.
I added a new function: FullScroll.
v1.03:
I fixed all known bugs (including bugs found in ScrollView & HorizontalScrollView);
I added the scrollbars;
I added three new functions:
- ScrollbarsVisibility
- FadingEdges
- GiveFocusToFirstVisible.
v1.1:
I fixed a problem with events that were not fired if declared in a class;
I added two functions: ScrollingIsFinished and DisableTouchEventInterception.
v1.2:
SV2D appears now as a custom view in the designer with all its properties.
v1.3:
I fixed a bug (SV_2 = SV_1 did not work because the inner panel was declared in the wrong class).
Enjoy,
Fred
Attachments
Last edited: