Android Question Best way filling 330 labels

fatman

Active Member
Licensed User
Longtime User
Hi to all,

I am currently writing an app with app 330 labels.
Instead of doing something like this:

label1.text = "a"
label2.text = "b"

etc
.
I´d like to have a more "elegant" approach.

Someting like that

dim i as int
I=1
label(i).text ="a"
i = i + 1
label(i).text ="b"

Not exactly like this- but in a loop of course.

Any hints are welcome...

Fatman
 

fatman

Active Member
Licensed User
Longtime User
Are those labels created with the designer or by code?, are those values static?

Thx for your interest NJDude,

after a little bit of thinking i will give xngrid by Stefano Busetto a chance. Think it has all I need, an "indexed" approach.

Thank you anyway!

Fatman
 
Upvote 0
Top