Im new to B4A, but have experience with programming in Java for Android. And i was wondering if its possible to reference a view by ID? In Android you have 'findViewByID'. In B4A i can only get a view by Index, which is kinda useless, because when do you know the exact id?
I want to make a gallery. Download image with HttpUtils. Then when a image is done downloading, i would like to get the ImageView by ID (that would be the imagename) and then set the image.
The only way i can think of is making a Map where the Key is the imagefilename (this i can get from the url in JobDone event), and value the reference to the ImageView. Is this the way to go? Seems a bit sideways...
I want to make a gallery. Download image with HttpUtils. Then when a image is done downloading, i would like to get the ImageView by ID (that would be the imagename) and then set the image.
The only way i can think of is making a Map where the Key is the imagefilename (this i can get from the url in JobDone event), and value the reference to the ImageView. Is this the way to go? Seems a bit sideways...