Why I can't get position of all items in my ListView?
<p>My problem is, I have listView with contacts, then I'm using </p>

<pre><code>onItemClickListener and Object obj = lImenik.getItemAtPosition(position); 
String tmp = obj.toString(); 
</code></pre>

<p>to get position of clicked item. That works fine for visible items.</p>

<p>But the problem is when I scroll little down and click on item which wasn't visible in the first place and try to get that position, I don't get it. Do I have to load differently? </p>

<p>for example:</p>

<pre><code>        lImenik.setOnItemClickListener(new OnItemClickListener() {

        public void onItemClick(AdapterView&lt;?&gt; adapter, View view,
                int position, long id) {
            Object obj = lImenik.getItemAtPosition(position);
            String tmp = obj.toString();
            Toast.makeText(context, tmp, Toast.LENGTH_LONG).show();
        }
    });
}
</code></pre>
