Hi, I'm sorry if I'm asking an annoying question.
I want to build an alert dialog with a bunch of checkboxes. I have achieved this by passing a string and boolean array. What I would like to do is pass the resource id for a checkbox array ie:
Is what I am trying to achieve valid? If not what does the (int ItemsId) argument refer to in the .setMultiChoiceItems argument list. If it is valid then how do I get the integer resource id for an array I have just declared? (sorry if this is something I should know). I tried:
getResources().getIdentifier("types", "CheckBox", package_name), but it returns zero.
I have spent about 4 hours trawling the web for this answer and have had no luck. I understand there is something conflicting about providing an id to a CheckBox array including checked status and then also passing a boolean array of checked status so maybe I have got the wrong end of the stick.
Thank you for any help.