Hello,
There is a duplicate thread on SO - MAUI Carousel not changing items in real-time, blank slide, grey bar at the bottom on iOS - Stack Overflow)
Please make CarouselData
implement ObservableObject
using MVVM communitytoolkit. That'll update the UI automatically after changing the Text value: Data[0].Text = "CHANGED"
.
public partial class CarouselData : ObservableObject
{
public ImageSource Image { get; set; }
[ObservableProperty]
public string? _text;
}
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.