Declare the variable aCard as being final. You need to do this to access stack variables from anonymous inner classes. This is a thread saftey issue.
So, like the compiler is telling you change your method signature to
So, like the compiler is telling you change your method signature to
Code:
displayCard( final Card aCard , int i )