Monday, May 3, 2010

[android-developers] Re: Listen to the CheckBox event in a ListActivity

Hi Mark,
Thank you so much for your info.. great to know this.. much easier
than I thought..

Regards,
DK

On May 3, 12:01 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> dillipk wrote:
> >   I have list of Check boxes in a ListActivity.
>
> > 1) How do I select/unselect the check box in the ListActivity?
>
> getListView().setItemChecked(), as described in the Android developer
> documentation:
>
> http://developer.android.com/reference/android/widget/ListView.html#s...)
>
> > 2) How do I get the state of a particular checkbox in a list of
> > checkboxes?
>
> getListView().isItemChecked(), as described in the Android developer
> documentation:
>
> http://developer.android.com/reference/android/widget/ListView.html#i...)
>
> > 3) How do I listen to the event when a checkbox is selcted/unselected?
>
> You don't, as far as I know.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Consulting:http://commonsware.com/consulting
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment