Xamarin Forms CarouselView and Loop and RemainingItemsThresholdReachedCommand

Gordon S 501 Reputation points
2021-04-19T08:13:55.697+00:00

It seems as though "RemainingItemsThresholdReachedCommand" is not called if CarouselView has Loop=True ... is that correct?

Is it expected behaviour or a bug?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
0 comments No comments
{count} votes

Accepted answer
  1. JarvanZhang 23,936 Reputation points
    2021-04-19T09:34:37.993+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    It seems as though "RemainingItemsThresholdReachedCommand" is not called if CarouselView has Loop=True ... is that correct

    This should be an expected beahvior. If setting Loop to true which is the default value, the CarouselView provides looped access to its collection of items. The scrolling is infinte, the RemainingItemsThresholdReached is not fired. However the related doc doesn't clarify this logic. You could report this to the product team on github to vertify the result.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful