Reputation: 3578
What is the best View to utilize in Android to have a multiselection where you can set a separate string for the text and value? Similar to how a drop down list has a display text value and a selected value. I need to use something like the CheckedTextView, but with the ability to set a text and value, and retrieve the value in code.
Upvotes: 1
Views: 108
Reputation: 4958
Alternatively to blessenm's suggestion, you could try appsolut's library - I've found it to be rather versatile and convenient in a variety of situations.
Upvotes: 1
Reputation: 31789
You can use a mulit selection dialog. Have a look at this link. It will explain how to use it.
Upvotes: 0