[android-developers] List View with Check box multiselection
Hi all,
In my application, i created a custom file adapter and i am using
ListView with checkboxes, upto this point everything working great.
But now i have to take the values of Checked listView items in an
Array list. In my list view, i am listing Files present on the SD card
so i have to take Files for further processing by storing it in an
Array List.
I am confused here how i pass multiple files for the processing, can
someone help me in how i pass checked Files to further processing, or
do i need to change my FileAdapter also ?
My Adapter class code :--
public class FileAdapter extends ArrayAdapter<File>
{
Context context;
File[] files;
CheckBox Check;
public FileAdapter(Context context, File[] files)
{
super(context, -1, files);
this.context = context;
this.files = files;
}
Thanks
--
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