Android Question How the expert apply multi checkboxes?

Theera

Well-Known Member
Licensed User
Longtime User
I have studied the code from one of B4X members ,but I don't know the expert apply to use. I would like to have some example for study.
Have someone to help me ,please?
 

Attachments

  • MyCheckList.zip
    11.1 KB · Views: 136

LucaMs

Expert
Licensed User
Longtime User
I am also attaching a version with Radiobuttons.

I also changed other things:
  1. modified (simplified) the "wait for" closing the dialog.
  2. the opening call of the dialog returns the selected value (instead of having to analyze the Map).
If you still prefer Checkboxes, you can take advantage of these changes.
 

Attachments

  • WithRadiobuttons.zip
    10.9 KB · Views: 142
Upvote 0

klaus

Expert
Licensed User
Longtime User
What is exactly the purpose of you class ?
Only one selection possible or multi selection ?
Anyway, I would have done it differently as a CustomView, which you can add in the Designer and without any Wait For.
.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
What is exactly the purpose of you class ?
Only one selection possible or multi selection ?
Anyway, I would have done it differently as a CustomView, which you can add in the Designer and without any Wait For.
.
Thank you ,LucaMs and you
Really, My purpose is multi selection ,however LucaMs helped me learn the other cases. I don't know the code which I get how to apply after I click OK button,it is shortly code.(Not enough for learning)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…