How to get the index of row
<pre><code>Image[i] = new ImageView(this);
Image[i].setImageResource(R.drawable.book);
Image[i].setPadding(200, 22, 0, 0);
Image[i].setOnClickListener(one);
</code></pre>

<p>1.I have a button in array and i set <code>onclicklistener</code> for that button . dont know how to get index of row when click<br>
     2.im confused to how to do it?</p>
