I have an array that has specified colors like this,
Object[] l_colarray = new Object[13] { Colors.Black,Colors.Blue,Colors.Brown,Colors.Cyan,Colors.DarkGray,
Colors.Gray,Colors.Green,Colors.LightGray,Colors.Magenta,Colors.Orange,Colors.Purple,Colors.Red,Colors.White};
How do i select an index,(objectatindex:i, was used in iOS). Kindly help me with this.
Thanks,
It’s not really clear what you mean by “select an index”. Do you mean simply:
? Note that if all the values are
Colorvalues you’d be better off with:Notes: