简体   繁体   中英

How can I add toggle buttons in a grid view?

I am trying to make an application that selects a seat in a hall. I will represent the seats in the grid view and then select those by toggle buttons.

How to add toggle buttons in a grid view? Or if this approach is not feasible then please suggest me other ways to make this kind of application.

I think your question is straight forward, just maintain states for the toogle buttons and notify adapter change if necessary. Also if your are not looking for this answer, please provide more information about your problem

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