I've asked before for help on this but I think I was not specific enough on what I want, so I got recommendations that did not address my need.
I have a button on the activity. When it is pressed, I want a listview to appear on the screen and wait for a selection to be made. Once the selection is made, I want the listview to go away and the data returned from it be used in the remainder of the button_click routine.
for example:
Sub Button_Click
<do stuff>
<Popup listview>
<take response from listview and do more stuff>
end sub
I have tried an activity module for the listview, but it does not appear until after all the code in the button_click has executed.
I tried putting an invisible panel on the activity and making it visible in the button_click. It just doesn't happen.
I tried writing code to build the listview on the fly and that was a disaster.
I think my VB experience may be blinding me to the subtleties of android programming.