Android Question How to call ImageView like : IV & "te"

Fabrice La

Active Member
Licensed User
Longtime User
Explain:

I have 10 ImageView in the activity. Each one start with IV:
IV1A, IV2A, IV1B, IV2B, IV1C etc ...

In the programme I would like to be able to call the ImangeView using strings:
dim IVtest as ImageView
IVtest = "IV" & i & "A"
...
if IVtest.tag = "black" then
.......

Is it possible ?
 
Top