Events Handling For CustomListView
<p>Hi i want to know how the handle events ,such as selected item in the Custom List,</p>

<p>How To get the position ,name of selected item in customList</p>

<p>Regards
Rakesh shankar.P</p>

<pre><code>public class Adapter extends BaseAdapter{
 int count=0;   Context ctx;
List&lt;InfoObject&gt;    obs;
Adapter(Context ct,List&lt;InfoObject&gt; cols)
{
    ctx=ct;
    obs=cols;
}

@Override
public int getCount() {
    // TODO Auto-generated method stub
    return obs.size();
}

@Override
public Object getItem(int position) {
    // TODO Auto-generated method stub
    return position;
}

@Override
public long getItemId(int position) {
    // TODO Auto-generated method stub
    return position;
}


@Override
public View getView(int position, View convertView, ViewGroup parent) 
{
    // TODO Auto-generated method stub
    count++;
    Log.v("Count", String.valueOf(count));
    InfoObject obj=obs.get(position);
    return new ObjectAssigner(ctx,obj);
}
</code></pre>

<p>}</p>
