I have on click image and in that method i have this two pictures to set source for them:
image4.Source = (ImageSource)new ImageSourceConverter().ConvertFromString("Cards/" + player12.First() + ".png");
and
image5.Source = (ImageSource)new ImageSourceConverter().ConvertFromString("Cards/" + comp1.First() + ".png");
i have timer to wait but they show at the same time when execution of the method will be done. I want to reload grid after first image4.Source and then stop for two secounds with timer and then show image5.source.
Thanks
Create a class for delayed execution:
And use in that manner: