display the name of image in gallery view
<p>using gallery view how to show the image name in text view... i have set the position of image but want the actual name of the image like if select lighthouse.jpeg image then i want display  the lighthouse in text view... please help me.... thanks in advance....
my position i used the code like this</p>

<pre><code>if(items[position].equals("Image koala"))
    {
        iv.setImageResource(R.drawable.koala_copy);
    }
    else if(items[position].equals("Image of Light house"))
    {
        iv.setImageResource(R.drawable.lighthouse_copy);
    }
    else if(items[position].equals("Image of penguins"))
    {
        iv.setImageResource(R.drawable.penguins_copy);

    }
    else if(items[position].equals("Image of tulips"))
    {  
        iv.setImageResource(R.drawable.tulips_copy);
    }
        return row;
    }
</code></pre>
