how to display a list of checkboxes using dynamic data
<p>In my apps preferences screen, i want to pop up a dialog that shows a list of checkbox items that are dynamically generated. </p>

<p>How does one do that and also, how does one get the checked values? I have made custom dialogs in the past, but for some reason my brain wont function today ...</p>

<p>Thanks.</p>
