Calling method in host from gridview adapter
<p>I have a gridview that is filled with several images using a custom adapter.</p>

<p>The adapter item that shows the images have a download button.</p>

<p>What I want to do is to send a method to the custom adaptar that should be called when the user presses the download button.</p>

<p>In summary:
onlinegallery-> associate gridview with adapter sending an onlinegallery method as parameter
gridview adapter -> shows several item.xml each containing an image and a button.
item button -> when pressing the button, the onlinegallery method should be called indicating the image to download.</p>
