locked
Collection View Infinite Scrolling RRS feed

  • Question

  • User372994 posted

    Hello everyone. How i use collection view with infinite scrolling

    Thursday, June 6, 2019 5:15 PM

Answers

  • User368417 posted

    Hello everyone, Here is a solution: in case anybody wants to implement this feature. It can be done easily with the collection view. This is easy, and you need to use the RemainingItemTreshold property of the collection view. In this blog post, I write dentally how to implement this functionality. https://doumer.me/infinite-scroll-with-the-xamarin-forms-collection-view/

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, November 13, 2019 6:06 AM

All replies

  • User180523 posted

    Have an infinite number of items as the binding source collection?

    Maybe more information about what you want, what you've tried, what errors you're getting, etc. would help.

    Thursday, June 6, 2019 5:43 PM
  • User372994 posted

    @ClintStLaurent Yes there is an infinite number of items

    I could catch items with the item appearing method when using list view, but I couldn't see it in collection view

    Thursday, June 6, 2019 5:46 PM
  • User382871 posted

    Try to use Xamarin.Forms.Extended.InfiniteScrolling plugin which supports Xamarin.Forms ListView.

    Sample here: https://github.com/mattleibow/InfiniteScrolling

    Friday, June 7, 2019 5:48 AM
  • User372994 posted

    this plugin not supporting collection view

    Saturday, June 8, 2019 2:33 PM
  • User382871 posted

    Do you want to scroll to the first item after scrolling to the last item? If so, an unwise method is to adding enough items to ItemSource.

    See the link. Infinite Scroll is being tested, but it has not been released yet.

    Wednesday, June 12, 2019 10:02 AM
  • User372994 posted

    OK thank you. I waiting for tests

    Wednesday, June 12, 2019 10:18 AM
  • User161091 posted

    Hi @omersezer , Did you found the Solution...?

    Saturday, July 20, 2019 7:53 PM
  • User368417 posted

    Hello everyone, Here is a solution: in case anybody wants to implement this feature. It can be done easily with the collection view. This is easy, and you need to use the RemainingItemTreshold property of the collection view. In this blog post, I write dentally how to implement this functionality. https://doumer.me/infinite-scroll-with-the-xamarin-forms-collection-view/

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, November 13, 2019 6:06 AM
  • User396275 posted

    @Damien_Doumer Your code work to ios app? Thanks

    Wednesday, March 10, 2021 5:24 AM