Re: [android-developers] How to manage CheckBox or EditText item in a ListView ?

2012-05-17 Thread chronogps
Thank you Justin for this explanation. If found source code which can help me : http://www.marvinlabs.com/2010/10/custom-listview-ability-check-items/ Have to modify it to handle EditText (and other item controls) -- You received this message because you are subscribed to the Google

[android-developers] How to manage CheckBox or EditText item in a ListView ?

2012-05-16 Thread chronogps
I want to manage checkbox and edittext in a ListView. I fill the list calling fill(), user (un)check and modify content of each line, then I want to save modifications calling read(). Here is a sample code. What is the way to interact with the listview and get the modified content ? Thank you

Re: [android-developers] How to manage CheckBox or EditText item in a ListView ?

2012-05-16 Thread Justin Anderson
The way you are using your code is not going to work... When dealing with a listview you pretty much always want to be dealing with the adapter directly... For example, you should never call the adapter's getView() method, as that creates a new view based on the data in your adapter. If you