|
Post by grumpydot on Nov 27, 2019 12:26:23 GMT
I would like to be able to change the direction of scrolling from Left to Right to Right to Left for Horizontal scroll direction. This should have 3 effects: the order of cell views would be starting from the right to the left, setting the ScrollPosition to 0 would move it to the right, and jumping to a specific index would place in on the right. Let me know if this is possible and if it can be included in a future release. Thanks!
|
|
|
Post by echo17 on Nov 27, 2019 14:06:26 GMT
What you could do is reverse the elements in your data list in the controller. Then, setting the normalized position would just be setting it to 1 - normalizedPosition. You could even wrap that in a property so you don't have to do the calculations each time. Something like:
public float ReversedNormalizedPosition { set { scroller.NormalizedPosition = 1 - value; } }
|
|