简体   繁体   中英

Android custom listview with checkbox?

I am new to android and I am starting a new Application in which I have to list down some users. The list includes image, name and mobile number and the list also include a checkbox. The checkbox has to be enable only when I click on a button like 'Download'. So far I have the listview with checkbox. My question is how can I enabled the checkbox only when I click on 'download' button? And also how can I capture the state of Checkbox? Any help will be appriciate. Thanks...

try looking in this tutorial http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters . This is where I lernt how to do this...

You will need a custom listview in Android.

Then implement your own listview

Wish you all the best.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM