Create a ListView with Dynamically generated Actions
<p>Right now I have two activities. My goal is to allow the user to type something in on the first activity and click submit. It then uses search query on a site and pulls in the json object. Right now I have it listing the names within the jsonarray. What I want to allow the user to do is click on one of these items in the list, and the app will go fetch more detailed information from a different URL. </p>

<p>What is the best way to accomplish this? I already have the search box working, the linked list generating with the names I need, and also have the onclicklistener for each list item. How can I enable my app to go fetch something more detailed depending on what they click? The information needed to go fetch something is dependent on either what the specific list item says or if I can somehow embed a different action for each list item when it is dynamically created. </p>
