• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Tableview or Listview

Hi all,

I'm building an app which gets a ksoap reponse back from a web service that I then need to display in a table of some kind which can then have selectable rows.

Each row would need to be broken out into a number of columns. Should this be achieved using a tableview or a listview ideally?
 
You can use which view that you feel most comfortable with.. Some developers like Listview some do like Tableview.. Myself i like to use RelativeLayout for my apps.. Its all about how you like to work.
 
Thanks CompBoy. I've created a TableView which is built by looping through my ksoap web service response and programatically creates the rows in Java. I can add an event listener so that if I click on a row it changes the background color, however is there any way to assign the individual cell values from the selected row to variables when it is clicked?

As essentially I need to select a row and then be able to click a button so that the values from the selected row are passed over to a new intent.

Hope that makes sense!?
 
Back
Top Bottom