Android Question xCLV Horizontal Scrolling - Parking Position

RichardN

Well-Known Member
Licensed User
Longtime User
When using xCLV as a screen-width container for images, views or other interface elements a left/right user input gesture causes the view to scroll and gradually slow to a stop. The point at which it stops is unpredictable and normally leaves adjoining cells in view.

Is it possible for a screen-width cell to 'park correctly' after a scroll gesture so it comes to a halt with only that cell in view? I am thinking of the behaviour shown by the native Android Gallery App where the gesture only moves through one full-screen image at a time.... For clarity, this xCLV won't just be displaying images but interface child views.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

RichardN

Well-Known Member
Licensed User
Longtime User
Excellent, thanks. Only minimal modifications to the class code to function in horizontal scroll.
 
Upvote 0
Top