In an xCustomListView with just several list items, each has a panel with a number of B4XViews, among them a button and a B4XImageView.
When you tap the button, you can then take a photo with simple camera intent. I store the resized bitmap into the database and also create a jpg file. It's also still in memory. Pretty simple.
Then I want to replace the bitmap of the B4XImageView with the new photo in the item/index where the button was pressed.
I can't figure out how to address the B4XImageView of the proper index in the CLV. I've managed to replace the last one, but not the proper one.
I'm storing the CLV index of the button pressed, but can't get to the correct B4XImageView with it. Don't know how to do it. Don't seem to fully understand TAGS despite trying.
I've tried many, many things.
I don't think there's a point in posting code.
My question is simple: How do I locate and address a B4XImageView in an xCLV item of a certain index?
Any help is most appreciated, including links for informative reading.
When you tap the button, you can then take a photo with simple camera intent. I store the resized bitmap into the database and also create a jpg file. It's also still in memory. Pretty simple.
Then I want to replace the bitmap of the B4XImageView with the new photo in the item/index where the button was pressed.
I can't figure out how to address the B4XImageView of the proper index in the CLV. I've managed to replace the last one, but not the proper one.
I'm storing the CLV index of the button pressed, but can't get to the correct B4XImageView with it. Don't know how to do it. Don't seem to fully understand TAGS despite trying.
I've tried many, many things.
I don't think there's a point in posting code.
My question is simple: How do I locate and address a B4XImageView in an xCLV item of a certain index?
Any help is most appreciated, including links for informative reading.