question

GordonS-9701 avatar image
0 Votes"
GordonS-9701 asked JarvanZhang-MSFT answered

Xamarin Forms CarouselView and Loop and RemainingItemsThresholdReachedCommand

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

Is it expected behaviour or a bug?

dotnet-xamarin
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

JarvanZhang-MSFT avatar image
0 Votes"
JarvanZhang-MSFT answered

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.


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.