title: Android: How to make an adapter with stable ids?
body: <p>I've made my own custom adapter extended from BaseAdapter to show a listview and so on...</p>
  
  <p>I want it to support single and multi selection, so it must have stable ids. I've checked with the <code>ADAPTER.hasStableIds()</code> and the result is false.</p>
  
  <p>I've overrided this method to do try to get stables ids with no luck.</p>
  
  <pre><code>public long getItemId(int position) {
     return (long) getItem(position).hashCode();
  }
  </code></pre>
  
  <p>Any idea how to make it?
  thanks!</p>