Android SeparatedListAdapter - How to use custom object as List Item?
<p>I have a basic object called <code>Employee</code>. You can retrieve an Employee's name and id using <code>.getName()</code> and <code>.getId()</code>.</p>

<p>I want to use Jeff Sharkey's SeparatedListAdapter to build a sectioned list. For the list items though, I need to use my custom Employee objects for the items instead of just lists of Strings.</p>

<p>In the included examples for the SeparatedListAdapter, he uses an <code>ArrayAdapter&lt;String&gt;</code> and a <code>SimpleAdapter()</code> for populating the list.</p>

<p>Is there any way to use a custom object/class, like my Employee class? The reason I'm needing to do this, is that when I click on an item in the list, I want to retrieve the actual Employee object that I used for that item and then retrieve the ID of the employee so I can display information pertaining to that Employee.</p>

<p>I'm a little bit confused on how to use Adapters properly. Should I make my own adapter or something?</p>
