I have these arrays:
ImageView aImages[], TextView aTextViewName[], Button aBuy[]
All arrays have same count of elements.
I want to create something like ListView that will take aImages[n], aTextViewName[n] and aBuy[n] from array and put it in a list like one element. Also it must create button listener for each button from list element.
I mean that first element in the list gets programly, and after I click on button - the are second element added to list. When I clicked on button of second element - the are third element added to list. And so on.
So there are three questions: 1) How make image, text, and button like single element but with access to each element (if I want to change text, but leave image, and button)? 2) How make dynamical adding these elements to list? 3) What can I use to store this elements?
)