question

BananaSupreme avatar image
0 Votes"
BananaSupreme asked ColeXia-MSFT commented

Displaying CollectionView as InfiniteView in Xamarin Forms

Is there a way to display CollectionView as if its an infinite view going in both directions in Xamarin Forms?
like android number picker does, where going up brings you back to the end of the list and going down to the bottom.

If scrolling towards the bottom Im just loading the list with content from the top which works great but going towards the top is the issue.

I tried hacking at it for a little while now and was trying to search for a previously asked post but no luck...

dotnet-xamarinforms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

alessandrocaliaro avatar image
0 Votes"
alessandrocaliaro answered ColeXia-MSFT commented

[watch][1]

Maybe something like this
[1]: https://www.youtube.com/watch?v=sZq8K_64bc0

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That's what I meant I'm doing when I'm scrolling forwards but if I try to scroll up from the start it won't let me, what I'm trying to do is that it wraps around when scrolling up

0 Votes 0 ·

Try the user-friendly plugin : https://github.com/mattleibow/InfiniteScrolling .

0 Votes 0 ·

Reading through the source code of the library I get the impression it just loads more content when the list ended, my control does that perfectly well...

What I am looking for is an ability to wrap around when scrolling up like the android number picker does, but also unlike the carousel view that it just jumps to end but actually wrap around the list...

0 Votes 0 ·
Show more comments