onListItemClick() show diffrent-2 activities
<p>i have responceid (String responceid = Activity2.getData()) for every row ...i want when i click on any position of list item it show its corresponding responceid ...so how to bind responseid for every row ....<strong>responceid takes from database</strong></p>

<pre><code>@Override
protected void onListItemClick(ListView l, View v, int position, long id)
{
    super.onListItemClick(l, v, position, id);
    String responceid = Activity2.getData();

    Object o = (String) (Notepadv3.this).getListAdapter().getItem(position);

    Toast.makeText(this, "this row  responce id is= " + " " + , Toast.LENGTH_LONG).show();
}
</code></pre>
