Hello,
I would like for a brief instant the background color of the selected item to change before navigating back. I have read this :
https://www.syncfusion.com/kb/11684/how-to-apply-listview-selected-item-color-in-xamarin-forms-navigation-sflistview
Is there anyway to achieve this effect without the need of Task.Delay ?
My code currently:
private async Task ItemSelected(Syncfusion.ListView.XForms.ItemSelectionChangedEventArgs obj)
{
var itemSelected = obj.AddedItems.FirstOrDefault() as IbItem;
itemSelected.BackgroundColor = (Color)Application.Current.Resources["primaryDarkColor"];
await CoreMethods.PopPageModel(itemSelected, true,true);
return;
}