Android Question How to store and compare values in a loo

Rams007

Member
Say I have a loop, I want to set a variable to the first value of I in the loop until a condition is met.

So like storing the first value like a constant and when the condition is met then this variable becomes the current value in the loop.
 
Top