carouselview的位置停止工作,当循环为false和itemssource两次更改

发布于 2025-02-05 01:12:02 字数 327 浏览 6 评论 0原文

作为字符串列表

我创建了一个carouselview,并将循环设置为false,tockitsource首先

,效果很好。但是,当我第二次更改carouselview的物品源时,

一旦我更改了carouselview的循环为true,位置和currentItem和相关事件停止就可以了,它将正常恢复。

一旦我将carouselview的循环作为false,它将出现问题。

在我的应用程序中,我需要循环为false,

我不知道最新版本的Xamarin是否解决了此问题。我的Xamarin.Form版本是5.0.0.2125

任何人可以帮助我吗?

I Create a CarouselView,And set Loop as False,ItemsSource as a string List

At First,it works well.

But when I changed the ItemsSource of CarouselView for the Second time,The Position and CurrentItem and Related Events stop works

Once I Changed Loop of CarouselView as True,It will Recoverd as normal.

Once I Changed Loop of CarouselView as False,It will Has Problems.

In My App,I need Loop as False

I don't know whether the latest version of xamarin has solved this problem. My Xamarin.Form version is 5.0.0.2125

Can anyone help me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文