简体   繁体   中英

how to use simpleAdapter for custom checkbox in ListView android?

Iam using ArrayAdapter for ListView.Each ListItems contains checkbox,Title,TitleInfo(below title),period,Image(static/from drawable).Now i want to develop this code into simple adapter.How to use simple adapter for checkboxes and how to handle checkbox events in this simpleAdapter?

Regards, Android developer

I don't think there is a way to do that with SimpleAdapter. You'll have to create your own custom ListView items as described in this tutorial

希望此链接对您有帮助,您需要即兴创作才能获得想要的东西,祝您好运...

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