I have a list of clients that I use to create these items:
Foreach(Customer c in Customers) { //Make the StyledStringElement //Set the Tapped to action a touch element.Tapped += () => { Push (new SomeController (c.ClientId)); }; }
The problem is that when an element is used, it sends the last client to SomeController ().
How to set up a Tapped Delegate with information that will identify the client ?
BahaiResearch.com
source share