简体   繁体   中英

Repetition of checked items in checkbox in ListView

I am trying to incorporate a list of items that has a checkbox before each item much like in gmail. The problem is that when I check an item, another item in the next view created also gets checked ie this get repeated over and over in fixed intervals. How can I stop this repetition?

您必须维护所有复选框的状态。请参考此链接Android:CursorAdapter,ListView和CheckBox

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