How to associate each item in ListView with id from database
<p>I have a <code>ListView</code> object with <code>Adapter</code> extended from <code>CursorAdapter</code>. There are only <code>(ListView l, View v, int position, long id)</code> parameters in <code>onListItemClick()</code> method. I need to query my database with <code>_id</code> for currently chosen list's <code>item</code>. But I don't want the <code>_id</code> of the row from <code>database</code> to be shown in the list's row. So I created additional <code>TextView</code> in <code>list_item.xml</code> and made it invisible by setting its <code>width</code> and <code>height</code> to <code>0px</code>. So on <code>newView()</code> I can associate the list's item with it's <code>_id</code> in <code>database</code>.</p>

<p>I find this approach to be ugly a bit. Might be there are any other more neat solution? </p>
