Hello all, I am working on a project whereby I have a list of checkbox items and a calculate button. I want to have the code capture a count of the selected checkboxes and when the "calculate" button is selected, total up the number of checkboxes and return a message based on the percentage of checkboxes selected.
I'm having trouble on getting the correct logic for the onCheckChanged function, the running total amount, and the results message/activity. Any pointers you all can provide would be most welcome.
I'm mainly interested in getting the calculation of selected checkboxes and the "result" message to work at this point.
I've attached the code I have to date. You will see some notification activities in there as well. This code is perfectly functional and has nothing to do with the issue I'm having. I currently have the "calculate" button pointing to a web browser just as a placeholder.
Thank you very much in advance!!!


