I have a listview in which each view contains the summary of a topic, along with a few other pieces of data. When the user clicks one of the items, I want to inflate a new view that contains the summary as well as the full text of the question, plus a few new pieces of data. I would like this to display inside the current listview, not launch a new activity. How could I go about doing this?
Edit: I'm thinking that one way to do this would be, rather than creating/inflating a new view, to put all of the elements in the initial view but set some of them to invisible initially. Then I can program the OnClickListener to set those items visible. My question, then, is how to get access to the items in each view?