Hi Peter,
Thank you for using Syncfusion Products.
In Xamarin Forms ListView, ViewCell has been internally handled to raise the OnBindingContextChanged event and override method whenever the binding context of item is changed. But in SfListView, we have updated the binding context of the ListViewItem only and it raises the View’s bindingcontext event if loaded in ViewCell as like below code example in which you can dynamically modify the data for the item.
Code Example[C#]:
public IncomingViewCell()
{
InitializeComponent();
this.View.BindingContextChanged += View_BindingContextChanged;
}
private void View_BindingContextChanged(object sender, EventArgs e)
{
//Modify the data here
var grid = sender as Grid;
} |
For your reference, we have attached the sample and you can download it from the below link.
Please let us know if you require further assistance.
Dinesh Babu Yadav