Could you please have a quick look at the sample code
I don't know if its clear, but what it's supposed to do is show what i
was when the event was created. Instead what I think it's doing is showing the value of i
when the event is fired.
How would I solve my issue?