Android Question Making items in a custom view snap to fill

JMB

Active Member
Licensed User
Longtime User
Hi there.

I am using a Custom View in horizontal mode to show items.

I was wondering if there was any way to make the Custom view "snap" each item to fill the containing view as the animation slows down, rather than just have the slide function linearly move the contents of the view left and right?

What I'd like to be able to do is to start a slide left or right, but have the view automatically bring the contents to a stop so that they fill the view if that makes sense.

JMB
 

JMB

Active Member
Licensed User
Longtime User
Yes, XCustomListView - wrong terminology. I will have a look at this.

Thank you.


JMB
 
Upvote 0
Top