ilan Expert Licensed User Longtime User Sep 30, 2012 #1 hi i am trying to add random numbers to a listview but i dont want that the number will apear twice so i would like to check if the listview allready contains that number i cannot find listview.contain... also i cannot find how to count the lisviewitems like Code: for i as int = 0 to listview1.items.count -1 next how could i do this two options? thanx
hi i am trying to add random numbers to a listview but i dont want that the number will apear twice so i would like to check if the listview allready contains that number i cannot find listview.contain... also i cannot find how to count the lisviewitems like Code: for i as int = 0 to listview1.items.count -1 next how could i do this two options? thanx
G genesi Active Member Licensed User Longtime User Sep 30, 2012 #2 Basic4android - Views (Core) Listview.size Listview.getitem(i) mario Upvote 0