[android-developers] Re: about custom listview
You should have a class that implements ListAdapter. In that class, there is a method called getView:
public View getView(int position, View convertView, ViewGroup parent) {
Have it return a View that has a checkbox object with a listener already attached to it.
On Sunday, January 20, 2013 12:00:45 PM UTC-6, Abdullah wrote:
Hi guys,--
i have a custom listview.it has 1 imageview 1 textview and 5 checkbox each row.
how can i check or uncheck other checkbox in same row when i check any checkbox.
i use below funcktion in arrayadapter but i don't know where i check or unckeck when i check a checkbox.
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home