With these codes below, i can move xcustomlistview from right to left, but how can the reverse be achieved? What i intend to achieve with this is to move with timer from right to left and then move back from left to right. After returning back to right, deactivate timer so that it can be moved freely manually as if no timer was used before. Below is the code that moves xcustomlistview from right to left
B4X:
Do While True
'..vertical...xclv1.sv.ScrollViewOffsetY = xclv1.sv.ScrollViewOffsetY + 3dip
xclv1.sv.ScrollViewOffsetX = xclv1.sv.ScrollViewOffsetX + 3dip
Sleep(15)
If xclv1.sv.ScrollViewOffsetX > 0 Then
xclv1.sv.ScrollViewOffsetX = xclv1.sv.ScrollViewOffsetX - 1
End If
Loop