Re: [android-developers] checkbox checked in listview

2012-01-04 Thread saran vonteddu
Hi vani, Uncheck the other checkboxes, its as simple as it is.. regards, Saran On Tue, Nov 8, 2011 at 4:56 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: http://android-codes-examples.blogspot.com/2011/03/listactivity-with-checkbox-using.html On Tue, Nov 8, 2011 at

Re: [android-developers] checkbox checked in listview

2012-01-04 Thread Daniel Drozdzewski
Vani, Each checkbox has to be a separate object, while it seems like you are adding the same checkbox to every list item. Daniel On 4 January 2012 12:41, saran vonteddu saran.myw...@gmail.com wrote: Hi vani,        Uncheck the other checkboxes, its as simple as it is.. regards, Saran

Re: [android-developers] checkbox checked in listview

2012-01-04 Thread Mukesh Srivastav
Hello Vani, You need to do the check and ucheck operation in onListItemClick. Check the below code which helps. @Override protected void onListItemClick(ListView l, View v, int position, long id) { // File newFile = (File) l.getItemAtPosition(position); CheckedTextView check =

[android-developers] checkbox checked in listview

2011-11-08 Thread vani reddy
Hi, I have created a custom listview of text and checkbox. When i click on a particular checkbox the other checkboxes in the rows also gets checked. How to avoid this?? -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers