S SarahWard Banned Sep 5, 2011 #1 Refering to the scrollview examples where bitmap images are added sequentially to the scrollview, if a user were to scroll down the bitmap images and tap one is it possible to detect which bitmap was tapped?
Refering to the scrollview examples where bitmap images are added sequentially to the scrollview, if a user were to scroll down the bitmap images and tap one is it possible to detect which bitmap was tapped?
Erel B4X founder Staff member Licensed User Longtime User Sep 5, 2011 #2 I don't remember the exact details of this example. However you can catch the ImageView click event of all ImageViews and then use Sender keyword to find the one that raised the event. The Tag property can also be useful in this case. See this tutorial: Basic4android Search: Array Of Views Upvote 0
I don't remember the exact details of this example. However you can catch the ImageView click event of all ImageViews and then use Sender keyword to find the one that raised the event. The Tag property can also be useful in this case. See this tutorial: Basic4android Search: Array Of Views
klaus Expert Licensed User Longtime User Sep 5, 2011 #3 Hi Sarah, Did you have a look at this example ImageScrollView? Best regards. Upvote 0
S SarahWard Banned Sep 8, 2011 #4 klaus said: Hi Sarah, Did you have a look at this example ImageScrollView? Best regards. Click to expand... Thankyou, Klaus That is just what I was looking to understand. Next I will have to find how many images can be added before it runs out of memory or goes wrong. Upvote 0
klaus said: Hi Sarah, Did you have a look at this example ImageScrollView? Best regards. Click to expand... Thankyou, Klaus That is just what I was looking to understand. Next I will have to find how many images can be added before it runs out of memory or goes wrong.