I have x ListViews
in my xaml Form:
- name:
lvExt1
- name:
lvExt2
- etc...
In my program I can access them directly with lvExt1.Items
or similar.
I would like to access those within a function that has the number as parameter
Something like:
privat void accessListView(string number){
return lvlExt"number".Items;
}
In Symfony (PHP) I can do it like this: https://stackoverflow.com/a/31142123/1092632
I do realize it may be something completely different, but only to express what I am trying to do.