Checkbox in listview
<p>I would like to set a checkbox in a listview's click-event.
How can I set the right checkbox?</p>

<p>This is my code:</p>

<pre><code>    listView.setOnItemLongClickListener(new OnItemLongClickListener()
    {
        @Override
        public boolean onItemLongClick(AdapterView&lt;?&gt; adapter, View view,
                int position, long id)
        {
                         Checkbox checkbox = ??
                         checkbox.setChecked(true);

            return true;
        }
    });
</code></pre>
